[Seaside] Session expiry

Lukas Renggli renggli at gmail.com
Wed Jan 2 09:50:24 UTC 2008


Check out the mailing list archive. This is a FAQ.

For example to ensure the persistency of a session as long as the user
keeps its window open can be done by adding some Scriptaculous code to
your page:

html request
     every: (sessionExperyTime - 5 seconds);
     callback: []

This will trigger an asynchronous request 5 seconds before the session
expires (given a correct vaue of sessionExpiryTime) that keeps the
session alive for another sessionExpiryTime seconds.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list