session cookie and domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I am operating 3 sites where I would like to be able to login cross site. Means with one login have a valid session on all 3 domain.

Currently I do set the cookie like this:
setcookie($cookiename,$sessid,0,'/','.'.$domain[name],0);	

That makes is available for all subdomains. Is there a possiblity to make it available for all domains like example: .domainname.

Thank you for any hint,

Merlin

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux