Re: Log out button

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Stokes wrote:
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
)

All variable values are deleted when browser is closed. Right?
no

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux