Re: Weirdness with setcookie() (3rd time - come on people :)
| From: | Joao Prado Maia | Date: | Tue, 14 Nov 2000 02:12:00 +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-25092@lists.php.net to get a copy of this message | ||
On Mon, 13 Nov 2000, Mark Maggelet wrote:
> here's some things to check:
> 1) are cookies turned on? (obviously)
> 2) the specs I've seen say to use a full url
> ("http://www.mydomain.com/admin/another_file.php")
> you might want to
> try that.
> 3) is another_file.php in /admin/ ? if not the cookie doesn't get
> sent with the request.
Mark,
1) Yes, the same site has another section with a "user login" feature, and
the cookie there is being set.
2) Indeed. However, I tried using include("another_file.php"), which
should also work, and the cookie is not being set.
3) Yes it is.
Thanks,
Joao
--
Joao Prado Maia
Web Developer
Kefta, Inc.
T: (415) 391-6881 ext 8008
F: (415) 391-7079