click
12-7-05, 11:31 PM
Hi All,
Ive been trying to get a session to persist across subdomains.
I have created a custom php.ini with extra's tool and had it symlink to the subdomains, changing session.cookie_domain to .foo.com
I start a session and store some variables with xxx.foo.com
This seems to work, as firefox is reporting a PHPSESSID cookie for foo.com
But then when i start a session with yyy.foo.com and dump $_SESSION to screen, i get:
array ()
what am i doing wrong?
Ive been trying to get a session to persist across subdomains.
I have created a custom php.ini with extra's tool and had it symlink to the subdomains, changing session.cookie_domain to .foo.com
I start a session and store some variables with xxx.foo.com
This seems to work, as firefox is reporting a PHPSESSID cookie for foo.com
But then when i start a session with yyy.foo.com and dump $_SESSION to screen, i get:
array ()
what am i doing wrong?