You are here: Re: Log out button « PHP « IT news, forums, messages
Re: Log out button

Posted by M. Sokolewicz on 03/16/05 13:55

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация