I am facing a problem where in my application (created in ASP.NET 4 Integrated).
I am creating user login session which works fine till the user is on our website but when he goes to payment page and the payment gateway redirects back the user to my website (POST METHOD) the session breaks and user gets logged out.
The session being used in INPROC, all default settings. The same code is working fine on Windows 8 R2 IIS 7.
But this new client is hosted on Windows 2016 with IIS 10.
While user is on our site, each page has the same value and session stays intact. ASP.NET_SessionId ac4yqgp5dhzwqbviyllopn3c
When the Payment gateway sends the user back to my website, session changes.
ASP.NET_SessionId
httpOnly true
path /
samesite Lax
value fcwox4odux2fn2qqvwztvnkf
Please help!