Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ASP

What's the standard way to detect session timeout?

 

 

ModPerl asp RSS feed   Index | Next | Previous | View Threaded


mark at icanfixyouremail

Mar 2, 2005, 5:51 PM

Post #1 of 2 (1880 views)
Permalink
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 [at] perl
For additional commands, e-mail: asp-help [at] perl


josh at chamas

Mar 3, 2005, 11:39 PM

Post #2 of 2 (1752 views)
Permalink
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 [at] perl
For additional commands, e-mail: asp-help [at] perl

ModPerl asp RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.