Hello,
I am checking whether a session is inactive for more
then 1 minute by the following:
if((session.getLastAccessedTime())<(System.currentTimeMillis()
- 60000)){
out.println("INACTIVE FOR MORE THEN 1 minute");
session.invalidate();
res.sendRedirect("http://mahtanjg/complaintsys/relogin.htm");
}

'INACTIVE FOR MORE THEN 1 minute' is printed and the
session is invalidated but the redirection does not
take place.
I am definitely missing something over here, can
someone please explain.
Thanks.





_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to