Session and URL problem

  • Thread starter Thread starter Stephen
  • Start date Start date
S

Stephen

HI,

I have created an application that has a logout.aspx page. here I clear the
session variables and redirect the user to the login page, but if I dont
close the brower and hit the "back" button. the user is directed to the old
pages.
How do i avoid this?

Please advice,
Stephen
 
Stephen said:
HI,

I have created an application that has a logout.aspx page. here I clear the
session variables and redirect the user to the login page, but if I dont
close the brower and hit the "back" button. the user is directed to the old
pages.
How do i avoid this?
There'
 
Stephen said:
HI,

I have created an application that has a logout.aspx page. here I clear the
session variables and redirect the user to the login page, but if I dont
close the brower and hit the "back" button. the user is directed to the old
pages.
How do i avoid this?

Please advice,
Stephen
There;'
 
Stephen said:
HI,

I have created an application that has a logout.aspx page. here I clear the
session variables and redirect the user to the login page, but if I dont
close the brower and hit the "back" button. the user is directed to the old
pages.
How do i avoid this?

There is no good way to avoid this.

Are you using Forms Authentication? It doesn't have this problem because it
uses a cookie. Once the cookie is deleted from the client, it doesn't matter
what URL the user tries to navigate to or how he tries to do it. Without the
cookie, the user is not logged in.
 
Back
Top