Re: Unable to redirect after invalidating session...

1999-04-13 Thread Mark A. Kolb
>Hello, >I am checking whether a session is inactive for more >then 1 minute by the following: >if((session.getLastAccessedTime())<(System.currentTimeMillis() >- 6)){ >out.println("INACTIVE FOR MORE THEN 1 minute"); >session.invalidate(); >res.sendRedirect("http://mahtanjg/complaintsys/relogin

Re: Unable to redirect after invalidating session...

1999-04-13 Thread Gabriel Wong
Jeetandra Mahtani wrote: > session is invalidated but the redirection does not What is the specific error you are getting? If its an IO Exception: More than likely the serlvet engine is using URLConnection which requires the URL to be in the DNS else you will have to give it the raw IP address.

Re: Unable to redirect after invalidating session...

1999-04-13 Thread Chris Pratt
ubject: Unable to redirect after invalidating session... > Hello, > I am checking whether a session is inactive for more > then 1 minute by the following: > if((session.getLastAccessedTime())<(System.currentTimeMillis() > - 6)){ > out.println("INACTIVE FOR

Unable to redirect after invalidating session...

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