[thelist] Setting cookies w/ PHP
Warden, Matt
mwarden at odyssey-design.com
Tue Oct 17 13:56:32 CDT 2000
> <?php
> setcookie ("mycookie", "cookie_value", 600, "/", ".mydomain.com",
> "0");
> echo "<html><head><meta http-equiv=\"Refresh\"
> content=\"0;url=http://www.mydomain.com\"></head></html>";
> ?>
Have you tried making the domain just "mydomain.com"? I seem to remember an
issue a while back when someone was making the domain www.mydomain.com and
couldn't read it from mydomain.com (without the www.). The solution was to
take the www. from the domain of the cookie. Could that begininning dot be
screwing things up?
--
mattwarden
mattwarden.com
More information about the thelist
mailing list