DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JSP (http://www.daniweb.com/forums/forum24.html)
-   -   How I can deactivate backward option in jsp web pagewhen I logout as a user (http://www.daniweb.com/forums/thread58221.html)

rajeshmoyra Oct 16th, 2006 8:52 am
How I can deactivate backward option in jsp web pagewhen I logout as a user
 
Hi,
I felt trouble to solve the problem last few days.When I loguot as an user from an account the "Backward option is activated" by which with out giving password another user can enter the last Logout page which I don't desired.

I follow Session object in jsp tags for a new user and when the user is logged out I destroy this session object.But till I face the problem.
So any can help me

masijade Oct 16th, 2006 9:04 am
Re: How I can deactivate backward option in jsp web pagewhen I logout as a user
 
Return a javascript onload that erases the history, or something to that effect. Another thing that you can do, is to set all pages as no-cache and a very short expires. This would force the page to be reloaded (or at least ask the user if they wish to repost whatever), but since their session id is invalidated (it is isn't it) it won't be able to reload.


All times are GMT -4. The time now is 2:44 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC