if i click tha back button of browser still takes me to my previous page but it doen't allow any action since i already removed the session scoped beans.dio i need to remove the history using java script?
hi, I am also facing the same problem,i have used session.invalidate() but when i click the back button it navigates back to earlier page. Check the session value after invalidation.It should be null, but in my case it's not coming null!! Also if you can post your login code,that would be of great help. thanks in advance.
excuse me...while i kiss the sky.
Joined: Sep 07, 2007
I have seen your posting and you got the answer it seems.
My case was different. In my application i need to support the back button facility to the users as long as they are in session and valid session. If they timed out or logged out webseal should have to logout them and they should be access the application until they login again. But there is problem of browsing the history pages using back button, even they can not do any action on it....I acheived tha task using 'pkmslogout ' command appending to my URL.But want to prevent the backbutton as well once they logged out or timed out.I don't know how to do it? just clearing the header information in the session won't do any good, i think.
Joined: Aug 23, 2007
in that case...when you ask the user to login..u should navigate him to a new page with no standard buttons available in it.this may sound creepy but it's a safer method.since there will be no such buttons like BACK, FORWARD etc. then there is no need to bother about that. example of this type of login action is this website: indusind website click on login and observe the new page that pops up!