Hi All,
I set this in my web.xml
On my page, I use meta tag to refresh the page at the 11th minute, and check:
It should send user back to login page because the session has expired but it didn't. What am I missing here? Can someone please help? Thanks.
I set this in my web.xml
Code:
<session-config>
<session-timeout>10</session-timeout>
</session-config>
Code:
<%if (session.getAttribute("UserName")==null)
response.sendRedirect("index.jsp");
%>