Hi all,
After a visitor has loged in, a session is started.
The session is destroyed after the visitor clicked "Log out'.
When the visitor forgets to log out and closes the browser immediately, the
session stil exists because when the visitor opens the browser again and
comes back to the site he/she is still loged in.
Ofcourse i don't want that.
I want the session to be destroyed when the visitor closes the browser
immediately.
Is there a way to destroy a session when the user closes the browser and
forgets to log out.
If instead of php, javascript is necessary, please tell me also.
T.i.a.
Best regards,
Tino Wintershoven.
The Netherlands