You are here: Re: how to declare a cookie that will destroy after browser is closed « PHP Programming Language « IT news, forums, messages
Re: how to declare a cookie that will destroy after browser is closed

Posted by Curtis on 02/01/07 05:27

On Wed, 31 Jan 2007 11:36:03 -0800, <salvadorvp@gmail.com> wrote:

>> Hi Amar,
>>
>> Change in php.ini, or use ini_set().
>> Look for:
>>
>> ; Lifetime in seconds of cookie or, if 0, until browser is restarted.=

>> session.cookie_lifetime =3D 0
>>
>> Regards,
>> Erwin Moller
>
> Isn't this called a session cookie (vs. a regular cookie)?
>
> SV.
>
> /just curious
>

Session cookies are indeed set with a lifetime of 0, but setting a cooki=
e =

with that lifetime doesn't necessarily need to be used for session =

management.

-- =

Curtis, http://dyersweb.com

 

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

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