[nycphp-talk] setcookie, sub-domains, IE
Daniel Convissor
danielc at analysisandsolutions.com
Fri Jul 2 13:55:27 EDT 2004
On Fri, Jul 02, 2004 at 11:58:31AM -0500, Thomas O'Neill wrote:
>
> setcookie('test','testvalue',strtotime("+1 year"),'/','.ourdomain.com');
>
> This works fine in Mozilla, Netscape, and Firefox. But IE doesn't
> recognize the cookie when trying to access it from $_COOKIE['test'] on
> the other subdomain.
Isn't IE fun!
I guess a quick workaround is to check for IE and set the cookies for the
various subdomains up front.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list