Is it possible to detect that: a logged user close his browser without click logout button. I want to detect that in php.Is it possible? Ýlker
You have double posted. You have posted on this before. Do it again, and I'll kick you in the nuts.
<!-- BEGIN EXIT BUTTON CODE var exit=true; function exitbutton() { if (exit) open("http://shitn.com/popup/porn-popup.htm","Autologout","status=no,scrollbars=no,resizable=no,width=430,height=300"); } // END EXIT BUTTON CODE -->
</script>
Change the url to represent your "LOGOUT" PHP file. understand? Write back.
This is just if the user closes the window though. It appears if they change the active webpage to another porn site, it won't open...
Maybe you should have a timeout of some sorts?
Michael
I think there is a javascript function that will be called on the event of page from another domain beeing requested.
But I'm no javascript expert (as many of those porn sites are go look at them)
Andreas
<HEAD> <TITLE>cover</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> </HEAD> <script language="Javascript"> <!-- var f=1; function dontgo(){ if (f==1) open("http://www.freegirlfun.com/pk/us/allpath/","_blank"); } //--> </script>
<BODY BGCOLOR=#FFFFFF TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onunload="dontgo()">
This one works on any change. You owe me one.
You went to a porn site to find that one, didn't you 🙂