View Full Version : how to call a function when user closes window
01-07-2007, 06:35 AM
01-07-2007, 02:41 PM
You are no going to find a solution since different actions will cause this to fire. You can try using onbeforeunload, but that will lead to issues too.
You should not be relying on clientside code, you should be relying on your session timeout on the server to clean things up.
01-14-2007, 11:52 AM
I am new to web programming. I use Perl for server side programming. How can I use timeout. Kindly tell me more about this and also the code or atleast some referance.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.