[Seaside] Seaside sessions

Lukas Renggli renggli at gmail.com
Fri Sep 7 08:03:11 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


>
> Ramon Leon
> http://onsmalltalk.com
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


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


More information about the Seaside mailing list