[Opensource] triggering an event on Logoff
Jon C
jcurley at purple-sun.com
Tue Jan 28 08:48:56 PST 2003
Mike,
Unfortunately this won't help much if they close the browser b4 the
re-direct occurs. I've implemented the HttpSessionListener code already
in a couple of session beans. If you want me to send the code then let
me know.
rgds,
Jon Curley, Techie.
On Mon, 2003-01-27 at 22:24, Eddie Lewis wrote:
> Hi Mike
>
> We handle the session timeout in the jsp itself
> We include the following line in each jsp effected (in an include)
>
> <meta http-equiv="refresh"
> content="1780;URL=/expresso/is/SessionTimeout.do?state=timeout">
>
> set the content value to a few seconds berfore the session timeout setting
> on the server to call a controller. That controller can then get the session
> details before it expires and then perform the necessary action (i.e.
> display an appropriate message, ect).
>
> Hope that helps
> -----Original Message-----
> From: Mike Traum [mailto:mtraum at cirnetwork.org]
> Sent: Saturday, 25 January 2003 2:43 AM
> To: Expresso Mailing List (opensource at jcorporate.com)
> Subject: [Opensource] triggering an event on Logoff
>
>
> I need to run a job whenever a user logs off - either by clicking logoff, or
> by session timeout. Doing it when a user clicks Logoff is a no brainer, but
> anyone have any ideas about handling the session timeout?
>
> Thanks,
> Mike
>
More information about the Opensource
mailing list