crca
01-10-2003, 02:23 AM
Hi!
I am making a perl site were you can make pets. (http://netpets.itgo.com)
Is there any way (ither in perl or javascript) to see if the user closes the window but NOT if he clicks on a link?
I have tried onUnload="(window.location='myperllogofffile.pl')" but then it will take me to the logoff script everytime!
Does anyone know a solution to this?
Thanks alot in advance,
Tim
I am making a perl site were you can make pets. (http://netpets.itgo.com)
Is there any way (ither in perl or javascript) to see if the user closes the window but NOT if he clicks on a link?
I have tried onUnload="(window.location='myperllogofffile.pl')" but then it will take me to the logoff script everytime!
Does anyone know a solution to this?
Thanks alot in advance,
Tim