You are here: Re: Session's V's Cookies « All PHP « IT news, forums, messages
Re: Session's V's Cookies

Posted by Robert Hennig on 02/01/06 17:21

Hello Mike,

if you use the second approach there also a cookie will be sent. If you
have a look at http://www.php.net/manual/en/ref.session.php you could
see the entry for "session.cookie_lifetime" with the following description:

session.cookie_lifetime specifies the lifetime of the cookie in seconds
which is sent to the browser. The value 0 means "until the browser is
closed." Defaults to 0.

As I understood your question this is exactly what you've been looking
for. So the second approach, using session_start(), will fit best in my
opinion.

Robert

 

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

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