|
-
Mar 5th, 2008, 05:10 PM
#1
Thread Starter
Fanatic Member
Destroy Session When Closing The Current Window
Hi ,
We can destroy The session by Going to another page set it to session_destroy() working no problem
but sometime the user may not click on logout it may close the window
so i want to add this event when he close the window the session will be destroyed !
i just think that we have to do it onUnLoad Event using JavaScript but Tried with no luck !
Thanks !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|