Last post Jan 20, 2015 01:17 AM by BrockAllen
Jan 20, 2015 12:55 AM|ramteke.harshal|LINK
We are developing an ASP.NET application. We have used payment gateway in it and transactions are being done properly but we are facing one problem after transaction. The process is as follows-
first user logs into the system -> then he is redirected to a page to select Membership plan -> then he is redirected to confirm plan page -> after clicking on confirm button, he is redirected to payment gateway to do transaction in separate tab of browser
-> after successful completion of payment procedure, he is redirected to success page in separate tab of browser. This entire process works well but sometimes we are getting "session expired" message after redirection to success page after transaction. So,
please tell us how to prevent the session expiration or how to persist session because this will create problem if user has completed payment procedure but due to session expiration, his payment details are not stored in database. PLEASE provide us way to
prevent this session expiration after payment.
Success page and other content pages are not using session variables but only master page is using several session variables. So, how to overcome this session expiration, please tell use. Thank you.
Jan 20, 2015 01:05 AM|BrockAllen|LINK
Don't use session? Code for the stateless model that is the web?
Jan 20, 2015 01:16 AM|ramteke.harshal|LINK
Thank you very much Sir. We'll remove session variables from this process but please tell us what is the best replacement for it- Cookies/ Cache/ Application object...?
Jan 20, 2015 01:17 AM|BrockAllen|LINK
Read the article. In short, it depends.