I have a JSP application which uses Session to store session values. I am having problem
invalidating the session. After logout i am able to access the application by clicking the browsers
back button and refreshing the page.
I use this code in Logout.jsp
<%if(session!=null)
{
session.invalidate();
}
%>response.sendRedirect(loginpage.html)
Can anybody explain what's wrong here?
invalidating the session. After logout i am able to access the application by clicking the browsers
back button and refreshing the page.
I use this code in Logout.jsp
<%if(session!=null)
{
session.invalidate();
}
%>response.sendRedirect(loginpage.html)
Can anybody explain what's wrong here?