• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to write the code for logout option  RSS feed

 
Sudhakar Reddy Kurakula
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I have logged in my page .After some time if click logout option then session should be inavlidat and I should go to login page .Now if we press back or forward button in the login page ,it should not work i.e those two buttons should not work at that time.
this is my requirement.
How can i do it?

please reply

Cheers
Sudha.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to look at meta tags to expire the content on the pages. The browser will cache the pages and you will not be able to remove them from the history when they log out.

Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!