Yep, I am doing that currently to set expiry time
and obviously it does not work.

Cheers
-raj

>try this one :
>
>session.setMaxInactiveInterval(<time in seconds>);
>
>regards,
>Chintan
>
>-----Original Message-----
>From: raj [mailto:[EMAIL PROTECTED]]
>Sent: Monday, October 22, 2001 6:20 PM
>To: [EMAIL PROTECTED]
>Subject: How to expire?
>
>
>I have set the session expiry time in my Test
>servlet to 10 secs (BASIC auth., using JDBC realm).
>
>But when I type in the URL in the browser
>(IE5/6, Mozilla, Netscape 4.x etc), the login window
>does not reappear but request goes straight to the
>servlet in question.
>
>I even tried to invalidate the session cookie using a "logout" link
>in the tes servlet, but to no avail.
>
>Only if the browser is destroyed does the login window reappear.
>
>Any idea to force a login after a certain interval of time?
>
>Cheers
>-raj
>



Reply via email to