abarton
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
setcookie outside domains
in PHP Coding Help
Posted
Ie: on www.test.com I run the following
[code]setcookie( 'gender', 'female', time+60*60, "/", ".blah.com" );[/code]
The cookie will not set. However if I change the domain on the cookie to test.com it will work. Is this possible? Any ideas?
(I test by inspecting my cookies in Firefox as PHP will not be able to reference cookies outside the current domain.)