J
James
My web application is comprised of a Login page and then several other pages
nested in a masterpage. I am using a cookiless="UseUri" session configuration.
I have a linkbutton on the masterpage for logout and when the user clicks
this, code is run that does Session.Abandon() and Server.Transfer("Login.
aspx"). This runs fine, but the url still reflects the old SessionID. Because
of this, if the user decides to login again, the page reloads back to the
login page after entering his information. This reloads the new sessionID and
works from there. Is there a way to stop the 2 page loads of the login page
after the session is abandoned?
nested in a masterpage. I am using a cookiless="UseUri" session configuration.
I have a linkbutton on the masterpage for logout and when the user clicks
this, code is run that does Session.Abandon() and Server.Transfer("Login.
aspx"). This runs fine, but the url still reflects the old SessionID. Because
of this, if the user decides to login again, the page reloads back to the
login page after entering his information. This reloads the new sessionID and
works from there. Is there a way to stop the 2 page loads of the login page
after the session is abandoned?