joecool2005 Posted January 19, 2007 Share Posted January 19, 2007 Hi,When the user click on the back button on the browser, how do you clear the data on a form and make a session expired?I used this but it did not work on firefox.Response.AddHeader("pragma","no-cache");Response.AddHeader("cache-control","private");Response.CacheControl = "no-cache"; Response.Expires = -1; Thx Link to comment Share on other sites More sharing options...
pulpfiction Posted January 19, 2007 Share Posted January 19, 2007 This might help...http://www.4guysfromrolla.com/webtech/111500-1.shtml Link to comment Share on other sites More sharing options...
Mr.Jay Posted January 22, 2007 Share Posted January 22, 2007 session.abandonwhich will clear the entire session.or you can just clear individual sessions by making the equal ""i.e session("username") = ""hope this helps ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now