Before the actual redirection to 3rd party url we are basically storing the user's session id, userid etc in Session so while we return back to our return url for posting data of payment gateway then we will need to update the status by retrieving the user's session, here at this point our session gets cleared/null. This is happening in Chrome for version above 84. Because I am able to maintain users session after redirection also in Firefox browser. I also want to do the same irrespective of chrome versions. How do I maintain session of each user after redirection?
Notes:
- I have tried dictionary by declaring it globally and filling values in it before redirect. But that also get error that key not found after post bck to return url.
- I have tried session by storing user's info against the txnid that I send to 3rd party url and it sends us back to return url and that gets null.
- Cannot store session for each user in database as it will created prob and have load to db.
Any other options to try. Please help. I am using ASP.NET MVC.