|
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]
|