I redirect logged users from my site to a bank payment system. After the user has completed the payment, he is redirected from the bank site to my site, however, in many cases, the session is lost. Any idea?
Here is the logg code:
Connect
FormsAuthentication.RedirectFromLoginPage("user", false);
Session["id"] = 1;
Disconnect
FormsAuthentication.SignOut();
Session.Clear();
Session.Timeout = 1;
Session.RemoveAll();
Session.Abandon();
Thank you.