[Seaside] Seaside sessions
Ramon Leon
ramon.leon at allresnet.com
Fri Sep 7 15:13:37 UTC 2007
>
> > renderSessionKeepAliveOn: html
> > html script: ((html updater)
> > every: ((self preferenceAt: #sessionExpirySeconds)
> - 60) seconds;
> > callback: [];
> > yourself)
>
> Better use:
>
> html script: (html request
> every: (self preferenceAt: #sessionExpirySeconds) - 60)
>
> This is more lightweight from the JavaScript perspective and
> you don't even need to specify a callback.
>
> Lukas
Yea, but you have the unfair advantage of it being your code. ;) Excellent
though, this is so old this is the first time I've looked at this thing in a
year.
Ramon Leon
http://onsmalltalk.com
More information about the Seaside
mailing list