In my Appl,
I have a logout page in jsp called logout.jsp.
After loggin out , if i hit the back button of the browser ...it takes me again to the server.
if i add
getSession().invalidate() method and hit the back button ..it gives a server error.
I need my application to be:
After loggin out ...if i git the back button...automatically it should take me to login screen.
can any one help.....please.
if you do this in servlet, you could use response.sendRedirect.(I guess you can do this in jsp too)
on each and every page, check whether session exists
u can include it as a file
<jsp: include file ="some file.jsp">