Posted on 2006-05-12
i have this in my jsp page and within my servlet.
userObject userSession = (userObject)session.getAttribute("userSession");
in my tomcat, i have set in web.xml to this
Now i wish to display some sort like indicator to the user when the session is ABOUT to end and the system will redirect to logut.jsp screen.
Any ideas how to perform this?
I have read the docs, i can only see this is useful, yet it's bring no meaning to me if i do this
<%= session.getMaxInactiveInterval() %>