By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,731 Members | 1,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,731 IT Pros & Developers. It's quick & easy.

Logout question

P: 1
After logout, how to prevent back button. I am using Mozilla Firefiox. Please help me.
Oct 24 '11 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 8,639
why? if the user is logged out (s)he canít access protected content without logging in again.
Oct 24 '11 #2

Expert Mod 5K+
P: 9,731
If you hit the back button in a browser, a cached version of the page is displayed to the user. You need to prevent the browser from caching the page so that when someone hits the back button (after logging out) the sensitive content is not displayed.

Oct 24 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.