Session question

Status
Not open for further replies.
C

clau

Hi,

I have a question about sessions in php. I have a site in which I an using sessions and is somebody does not log out, just simply closing the tab, or borwser window, and if he enters the site once more he is already logged in. This is because php is closing the session only with session_destroy();

Can I make the session to be closed if somebody exists my site without logging out?

Thanks,
Claudiu
 
Status
Not open for further replies.
Top