--- Ryan A <[EMAIL PROTECTED]> wrote:
> how do i make sure that the cookie will work for http://best....
> and www.best... and blah.bestweb.... etc? because thats what I
> thought I was doing by using .bestwebhosters.com

If you are setting the cookie from bestwebhosters.com, the best way (my
opinion) is to not specify the domain, so that the browser will use the current
domain. This seems to be the most compatible across all browsers.

If you want to specify the domain, you can try leaving off the leading dot, as
in bestwebhosters.com. On *most* Web browsers, the cookie will be sent in
requests for www.bestwebhosters.com also, but from hat I have read, this is
less reliable.

Hope that helps.

Chris



=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to