View Single Post
Old 11-12-2010, 11:30 AM   #1 (permalink)
ewannnn
The Visitor
Newcomer 
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
ewannnn is on a distinguished road
Default Destroy session on browser exit

Hi, I was just wondering if there is a simple way to destroy all session variables when a user closes the browser manually as opposed to logging off (so the variables are destroyed when the user goes back to the page)?
I believe there is a way using cookies, but I dont know how to use them or what pages to put them on (i.e. do they go on every page?)
Thanks very much in advance for any advice
ewannnn is offline  
Reply With Quote