You are here: Re: session_? « PHP Programming Language « IT news, forums, messages
Re: session_?

Posted by Rik on 01/23/07 21:11

Gene wrote:
> how to unregister all session params when you close browser or card in
> firefox. in IE i don't have this problem, but firefox remember my
> session?


Referring to: http://nl2.php.net/sessions

If the session is stored in a cookie, usually it _should_ be deleted when
the browser closes, at least with the default setting for
session.cookie_lifetime at '0'. However, as the browser may choose to
either accept or decline cookies, it also has the last say in how long it
will store a cookie. It might be deleted on closing, it might be kept for
all eternity. Usually that should not be a problem, as the data belonging
to the session should time out (see the session.gc_maxlifetime directive)
after a while if it isn't used.

You can offer users a method to logout to destroy the session immediately,
but unfortunately, very few visitors use that option.
--
Rik Wasmus

 

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

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