Jan Koprowski wrote:
> On 4 Lut, 21:10, Mike Orr <[email protected]> wrote:
>> You don't know when the user closes the browser.

Another option would be to set a Javascript timer to "ping" the server 
every once in a while. You could then set your sessions to expire pretty 
quickly. As long as the user had that page open, the client would keep 
getting the pings, when they closed it, it would stop, and the session 
would expire.

Not that I've ever tried anything like this!


-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to