Re: SetCookie return
| From: | Rasmus Lerdorf | Date: | Sun, 11 Nov 2001 02:01:56 +0000 |
| Subject: | Re: SetCookie return | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74142@lists.php.net to get a copy of this message | ||
SetCookie() cannot know whether the client accepts the cookie or not. It
can only send it. You will need to check in a subsequent request if the
client decided to accept it or not.
-Rasmus
On Sat, 10 Nov 2001, Christian Dechery wrote:
> what does SetCookie() returns???
>
> I did a var_dump() on it and it gave me 'bool(true)' when in fact the
> cookie was not set...
>
> _____________________________
> . Christian Dechery
> . . Gaita-L Owner / Web Developer
> . . http://www.webstyle.com.br
> . . http://www.tanamesa.com.br
>
>
>