You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ma...@tumbleweed.com on 2001/09/01 04:21:32 UTC

Re: Strategy for Checking Session Timing Out

If the user disables cookies, the servlet container should revert to using
URL rewriting to maintain the session. You shouldn't have to worry about a
new session being created on each request.

--
Martin.


----- Original Message -----
From: <Da...@mail.sprint.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, August 30, 2001 1:02 PM
Subject: Strategy for Checking Session Timing Out


> If the user disables cookies so that every request coming into the
> server will create a new session (session.isNew()==true), what strategy
> could be used to check if their session has timed out?
>
> I assume that since every session is new, that using the
> session.getLastAccessedTime() method is also of little value.
>
> Dan
>
>