This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes logout functionality Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "logout functionality" Watch "logout functionality" New topic
Author

logout functionality

pradeep raju
Greenhorn

Joined: Feb 07, 2006
Posts: 7
HI friends .I have noticed that after we sign out of yahoo mail,when we click the back button ,the login page is displayed,no matter how many times,it is clicked.
It sounds good to me.Iam developing a application and want to put the same functionality.Can someome help me out with the sample code.
bye regards pradeep
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
I guess when the session is invalidated after signing out, any attempt to acces the page will be forwarded/redirected to the login page. I am sure the experts here cann add more.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
jQuery in Action, 2nd edition
 
subject: logout functionality