You may want to implement a "Pseudo Ping mechanism " to provide session sync with that server, for a long alive session. Should refer to HttpStatusCode description.
-----Original Message----- From: [email protected: dojo-interest-bo...@dojotoolkit.org] [email protected: dojo-interest-bo...@dojotoolkit.org] On Behalf Of sandeepa Sent: Friday, May 18, 2007 3:40 PM To: [email protected: dojo-int...@dojotoolkit.org] Subject: [Dojo-interest] Logout and idling issues
Hi All, I have a built a dojo application which uses tree widgets and more. I have a issue where in if the application is idle, say for about 10 mins, I try performing any clicks in the application though it does not work but gives user a feeling something is happening. Ideally my server connection is lost and once i refresh the browser i see logout screen. I want to know if there is a way to find if the application is idle for certain time and lost connection with server and it should default to login page of the application on any click.