[Seaside] Keep-alive timer for Seaside app
Esteban Lorenzano
estebanlm at gmail.com
Thu Jan 6 11:13:24 UTC 2011
I do this:
html script: (html jQuery ajax
callback: [ "Do nothing" ];
interval: self interval)
you really don't need a response to client side :)
Cheers,
Esteban
El 06/01/2011, a las 3:46a.m., Lukas Renggli escribió:
>> My questions are:
>> Is there better way to do this?
>> Is there an easier way to get the cacheTimeout value?
>
> Looks good.
>
>> Do I really need two JSScript instances to create the interval
>> timer? I couldn't find a better solution.
>
> You should be able to send #interval: to the JQAjax instance with a
> cascade (same receiver as #callback:). No need for JSScript.
>
> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list