On 9/18/07, Lyallex <[EMAIL PROTECTED]> wrote:
> How about creating a SessionListener
>
> class SomeSessionListener implements HttpSessionListener ...
>
> Register it in web.xml
>
> in the sessionCreated method of your listener get a reference to the
> new session from the HttpSessionEvent you can now access the
> getLastAccessedTime(), maybe store the refs in some singleton ...

...er, actually I think this could be a REALLY STUPID idea as I hadn't
thought about what happens if you maintain an external reference to a
session and the session expires...

Investigating now

Duncan

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to