aebstract Posted February 27, 2008 Share Posted February 27, 2008 Okay, I have quite a few sessions that I want to completely clear upon leaving a specific page. Be it they close the window or click to go to another page. When they leave that page in any way, I want the sessions to be cleared. There is one session I want to keep running, but I'm sure if I have to I could just clear all sessions and reset that one at the same time. How can I go about doing the "upon leaving page" with this? Link to comment https://forums.phpfreaks.com/topic/93351-clearing-sessions-upon-leaving-page/ Share on other sites More sharing options...
amites Posted February 27, 2008 Share Posted February 27, 2008 comes down to javascript, otherwise the browser wouldn't know to transmit any information to the server to say that it has left the page, not fresh enough in my mind to give an example, though that's the direction to be looking Link to comment https://forums.phpfreaks.com/topic/93351-clearing-sessions-upon-leaving-page/#findComment-478250 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.