Implementing signout feature in asp.net2.0 without using built in login controls
Posted on 2008-10-29
I am Implementing signout function on a website in asp.net 2.0 without the use of built in Login controls.
I am using a link button for signout
In the button click event I am setting the session["User"] = null;
and redirecting it to sites home page say home.aspx.
But now when I click on browsers back button I am able to see the features of the page from which I signed out.
The page content is probably coming from browser case or.....
I do not want this to happen.
I mean I do not want a user to see the pages , which he can see only a fter signing in ,after logout and clicking Browsers back button.