ASP.Net session lost after returning from payment gateway
I have an ASP.NET website on .NET framework 4.7.2. Users get redirected to a payment gateway and once the payment has completed they’re redirected back to our site using a URL that’s provided to the payment gateway. Upon returning, sometimes the session will just disappear and a new one gets created, meaning that the transaction cannot be commited to the DB because all the data has been lost.