Sup Tan,
 
The easiest way to do this, although somewhat of a kludgey method, is to have a hidden iframe in the your html code constantly (maybe once a minute) hit the server and assert the person is still on the page. It won't be bulletproof, but its probably the simplest. It may also limit which browsers you're web app will support (not sure how much support there is for hidden iframes in browsers other than IE).
 
There is no way to model persistence using just HTML code and a Server Side Scripting language like WiTango or PHP. If you need an absolutely failsafe application, consider writing an applet or I'm sure there's some .NET solution that will work.
 
If you need more help, I'm sure Scott Cadillac can contribute some ideas, I think he's done something like this once or twice before (wink, wink, nudge, nudge, Scott).
 
Cheers,
Jonah Simpson
----- Original Message -----
Sent: Friday, May 14, 2004 10:37 PM
Subject: Witango-Talk: Variable Timeout solution

I would like to detech when a user login to my application and be able to know when they leaving even without proper way of logout. Just like other chat application, if a user online, the user will appear in a list. if the user inactive for certain period, the user will be automatically logout and disappear from the list.
 
I have try to use the Witango system variable - variableTimeout but it have not effect. Can anybody help?
 
Thanks.
 
Regards,
Tan
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to