Re: Weirdness with setcookie() (3rd time - come on people :)
| From: | Joao Prado Maia | Date: | Tue, 14 Nov 2000 01:42:29 +0000 |
| Subject: | Re: Weirdness with setcookie() (3rd time - come on people :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25086@lists.php.net to get a copy of this message | ||
On Mon, 13 Nov 2000, John Donagher wrote:
>
> If you're familiar with HTTP mechanics, it should be relatively easy to construct a manual
> request, see the redirect, follow the redirect, and then watch for the "SetCookie" lines
> in the response. cURL (http://curl.haxx.se) is a good program for this type of work if you want to
> at least abstract the connection handling. It should give you at least a finer idea of what exactly
> is happening.
>
> I point you in this direction only because I've used setcookie() for years without ever
> experience erratic behavior, apart from the obvious issues with sending a header before the cookie
> which isn't so much erratic behavior as a lack of understanding about HTTP mechanics (not that
> anyone fully understands them anyway :)
I'll try that when I get home tonight. I was trying to find if there was
anything ultimately stupid in my code that I just could not see before
trying the "hard" way :)
Joao
--
Joao Prado Maia
Web Developer
Kefta, Inc.
T: (415) 391-6881 ext 8008
F: (415) 391-7079