You are here: Re: Cookie is in a cache? « PHP Programming Language « IT news, forums, messages
Re: Cookie is in a cache?

Posted by Ramon on 08/23/05 03:43

Well you actually have to read the cookie. Because the cookie is stored
by the clients browser. Not by the server. If you need a more
suffisticated explanation drop another comment in here, but I'm sure you
can find the function in the php.net docs.

Cheers,

D

p2 wrote:
> Hi,
>
> I'm setting a cookie with setcookie, and as long as I'm not closing the
> browser - the cookie is kept and passed to the next page.
>
> But as soon as I leave the site or close the browser, the cookie is
> gone, ans there is nothing in $_COOKIE dor the next time.
>
> The cookie is not shown in the cookies folder.
>
> This is the command I use:
> setcookie ('lang', $lang, 77000);
>
> Thanks,
>

 

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

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