You may session_destroy() on other pages you have control of, but there is no way of finding out that
the user has left your page and then came back (maybe you can play with onunload body tag, but it will
be a pain for you to implement and also for the user). Alse check *session_set_cookie_params*
function.

Shaun wrote:

hi,

i asked this before , but how do i end a session when a person changes from
my secure site to another site.

eg.MY page is secure.php(you have to login to get here)
what is the user types in www.php.net at url, then the session will still go
on , by i want it to end !

Thanx ,shaun





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to