try ".mysite.com"

-Jason Garber

At 12:07 PM 11/13/2001 +1100, Chris Kay wrote:

>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: [EMAIL PROTECTED] phone: +61 2 4628 8888 fax: +61 2 4628 8890
>------------------------------------------------------------------------
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to