[Seaside] ajax interval + clearTimeout for keep alive

bobn at rogers.com bobn at rogers.com
Fri Apr 15 13:48:09 UTC 2016


Hello,I use the following to keep a session from expiring while a user has the browser open...
        html script: (            html jQuery ajax 
                callback: [ "Do nothing" ]; 
                interval: 10 minutes) 

...it works fine, but what I would also like to do is to stop the script after a couple of hours, and allow the session to time out normally.
What is a clean way to add a clearTimeout() to this with Seaside code?
I'm working on some raw javascript to do this, but it would be nice to code it in Smalltalk.
Thanks,Bob NemecHTS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20160415/3cd11dd8/attachment.htm


More information about the seaside mailing list