>Could someone tell me how to pass a session cookie to different sub
>domains, without passing it in url.
It's in the manaul...
http://www.php.net/manual/en/function.setcookie.php
"To make the cookie available on all subdomains of example.com
then you'd set it to '.example.com'. The . is not required but
makes it compatible with more browsers. Setting it to
www.example.com will make the cookie only available in the www
subdomain. Refer to tail matching in the spec for details."
...and the spec ("tail matching")...
http://wp.netscape.com/newsref/std/cookie_spec.html
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php