[02/03] Need Help on page authentication
Friends,
I have developed an web application with ASP.NET and it is running well.
But a problem is still there. If someone logout and some other person come and click on BACK of Internet explorer he can go the pages that were viewed by the previous user.
How can I protect BACK from my application?
-Rajib
Re: [02/03] Need Help on page authentication
Prevent caching of the 'secure' pages of your website.
vb Code:
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Re: [02/03] Need Help on page authentication
Mendhak,
Thanks for ur quick response. Where I have to add this code?
Rajib
Re: [02/03] Need Help on page authentication
Add it to the page load events of the pages which you do not want 'accessible' after they have logged out.