Why close the session?
The session will close client-side when the user closes the window, if you must though, you can either set session timeout or session_write_close() at the end of your code
I am using session in some sites of mine and my problem is how can i close the session if somebody does not log uot only closes the window or tab?
Thanks,
Claudiu
Why close the session?
The session will close client-side when the user closes the window, if you must though, you can either set session timeout or session_write_close() at the end of your code
You never leaved a forum or any site where you neede to log in without logging out?Why close the session?
If you did than you noticed that when you enter back you are already logged in without asking you for password an so.
This is why I want to close the session even is you exit the site without logging out.
Thats cookies not sessions
Sessions close when the window is closed.
What he said.Originally Posted by stealthhosts
Silly me![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks