posted 19 years ago
Hiiii...I have one logout.jsp page which logouts a user from a registration system application.I have used beans in session scope .....my main welcome page is just menus with greeting the user....whenever user clicks logout button i have put session.invalidate() in the logout.jsp.....but from the response of logout.jsp if user uses browser navigator(BACK,Forward)it will take the user again inside the welcome .jsp page which comes whenever user logs in....
login.jsp--->welcome.jsp(with diff menus and greeting to user,one of them logout)-->logout.jsp-->responseLogout.jsp(successfully logged out .....click here to login again)
if user clicks back after responseLogout.jsp it takes the user to welcome.jsp.....it should invalidate the session...Thanks in Advance....
[ April 23, 2005: Message edited by: Bear Bibeault ]
SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "