PDA

View Full Version : Session keep-alive techniques


sfarrow
09-04-2003, 04:46 AM
What technique(s) would you recommend for keeping an HTTP session alive? (e.g. a timer that periodically submits an HTTP request). I need to keep my session from timing out while my Laszlo application is running in browser.

Thanks.

Steve

antun
09-04-2003, 07:44 AM
You mean an HTTP session that's managed by the server? Sure you could do regular requests from the client.

Maybe use an empty dataset, give it an url that does nothing much (maybe just returns an empty node), and hit it every minute or two?

There's some info on how to set up a timer here:

http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=138

-Antun