Mailing List Archive

What's the standard way to detect session timeout?
Does the '$Session' variable become undefined, or
what's the best way to detect this happening?

Thanks.





---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: What's the standard way to detect session timeout? [ In reply to ]
mark_mcwiggins wrote:
> Does the '$Session' variable become undefined, or
> what's the best way to detect this happening?
>

Session_OnStart event can be used when things are just starting.

Otherwise, set something, and if its not there you know the
session has become undefined.

Another way that you might be thinking is a user getting timedout
so you can have a nice logout error type thing, in which case you
can set a cookie that corresponds to a value in session, and make
a judgement between the 2.

Regards,

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org