Hello, Again this might be more of a HTML quetion. If so sorry about that.
Anyway I was just trying to make a log out button to a page. It should end a session or/and close browser window. (Closing browser ends the session as well I think?
no )
no
All variable values are deleted when browser is closed. Right?
Can anyone help?
Thanks
-Will
Make a button. In the submitted form, get the session-id, destroy the data, and remove the cookie. The output some JS to close the window.
see http://www.php.net/session_destroy for more info
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php