I want the session destroy on browser close using php..
session
Collapse
X
-
Tags: None
-
We do ask that you attempt this first and then post your code.
People are more willing to help if you show that you've made an effort.
Give you hint... maxlifetime
So if you will post your code, formatted with the [CODE/] tool please, we can help point you in the right direction. -
you can always use the onbeforeunload event to fire a XMLHttpRequest for example to ur webserver that destroys the session if you want toComment
Comment