After logout commands redirect to Login.html page. session invalidated correctly, but if pressing back button previous page opened(this page need valid session for open) and if i am reloading this page then this page sending redirect to login page. (this is very important that if i am pressing back button after logout, it should send redirect to login page)
<%
// session invalidate
if (session!=null) {
session.invalidate();
response.sendRedirect("Login.html");
}
%>