[PHP] how to kill a session by closing window or tab clicking on X?

2008-10-27 Thread Afan Pasalic
hi. I'm sorry for posting this more javascript then php question, but it's somehow php related. here is the issue: very often people close the window/tab without logging out. I need solution how to recognize when [x] is clicked (or File Close) and kill the session before the window/tab is

Re: [PHP] how to kill a session by closing window or tab clicking on X?

2008-10-27 Thread Bastien Koert
On Mon, Oct 27, 2008 at 10:10 AM, Afan Pasalic [EMAIL PROTECTED] wrote: hi. I'm sorry for posting this more javascript then php question, but it's somehow php related. here is the issue: very often people close the window/tab without logging out. I need solution how to recognize when [x] is

Re: [PHP] how to kill a session by closing window or tab clicking on X?

2008-10-27 Thread Stut
On 27 Oct 2008, at 14:10, Afan Pasalic wrote: I'm sorry for posting this more javascript then php question, but it's somehow php related. here is the issue: very often people close the window/tab without logging out. I need solution how to recognize when [x] is clicked (or File Close) and

Re: [PHP] how to kill a session by closing window or tab clicking on X?

2008-10-27 Thread Afan Pasalic
Stut wrote: On 27 Oct 2008, at 14:10, Afan Pasalic wrote: I'm sorry for posting this more javascript then php question, but it's somehow php related. here is the issue: very often people close the window/tab without logging out. I need solution how to recognize when [x] is clicked (or File

Re: [PHP] how to kill a session by closing window or tab clicking on X?

2008-10-27 Thread Ashley Sheridan
On Mon, 2008-10-27 at 09:56 -0500, Afan Pasalic wrote: Stut wrote: On 27 Oct 2008, at 14:10, Afan Pasalic wrote: I'm sorry for posting this more javascript then php question, but it's somehow php related. here is the issue: very often people close the window/tab without logging out. I