Cookie not getting set
| From: | Mike Morton | Date: | Mon, 12 May 2003 20:24:38 +0000 |
| Subject: | Cookie not getting set | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147346@lists.php.net to get a copy of this message | ||
This code works in IE6 PC, but not IE5 or Safari on a Mac:
setcookie("dealercode", "33",
time()+60*60*24*365,"/","vtc.com",0);
header('Location: login.php');
This code is executed under:
apex.vtc.com
And does not work, where as, under:
www.vtc.com
It works fine....
Yes, they are different servers.
Using PHP 4.3.0 build with nothing real funky going on....
Methinks it has something to do with the domain... Apex.vtc.com is actually
www3.vtc.com/partners/apex - but that should not make a diff since it is
still the vtc.com domain right?
Methinks that I do not know enough and need some help...
Tia :)
--
Cheers
Mike Morton
****************************************************
*
* Tel: 905-465-1263
* Email: mike@webtraxx.com
*
****************************************************
"Indeed, it would not be an exaggeration to describe the history of the
computer industry for the past decade as a massive effort to keep up with
Apple."
- Byte Magazine
Given infinite time, 100 monkeys could type out the complete works of
Shakespeare. Win 98 source code? Eight monkeys, five minutes.
-- NullGrey