Question....
| From: | Chris Kay | Date: | Tue, 13 Nov 2001 01:07:22 +0000 |
| Subject: | Question.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74345@lists.php.net to get a copy of this message | ||
I have a simple question that bugging me..
I have a site which I am designing with users auth, I have decided to use
cookies as I need to store variables after the user leave the site..
Problem I am having is the domain I set it on,
If the user logs into http://www.mysite.com and later logs into
http://mysite.com without the www the cookie will not work..
Is this because I am setting the domain wrong?
I have tried
".mysite.com"
"mysite.com"
"$HTTP_HOST"
""
Is some1 able to point me in the right direction
------------------------------------------------------------------------
Chris Kay - Tech Support - IDEAL Internet
email: chriskay@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890
------------------------------------------------------------------------