I am creating airlines reservation system with online payment feature. For online payment, I have to redirect from my app to another domain(of another organisation that is looking after payment). After payment in successful, another domain again redirects to my app. Another domain is another URL.
The technical flow of my app is: On login page, I have one cookie i.e. __RequestVerificationToken. After login, I will have three - ASP.NET_SessionId, __RequestVerificationToken and 247Sewacookie (this is formsauthentication cookie). When application is redirected to my app from another domain, all cookies are gone. Therefore, application is redirected to login page since there will be no 247Sewacookie.
I have hosted my app in https://www.smarterasp.net/.
How can I maintain cookie so that user need not to authenticated again?
I have tried checking on chrome and edge browser.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)