View Single Post
  #1 (permalink)  
Old 04-22-2008, 09:38 AM
troy's Avatar
troy troy is offline
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default Session in subdomain

Hello Zend Guru

I wrote a Zend auth class using Zend/Auth/Adapter/DbTable.php with mysql.
My cookie has a dot as in .example.com
I got this in the ini file and it works
Code:
cookie_domain = .example.com
The authetications works fine with www but not any other sub domains.

and if I do:
PHP Code:
print_r($_COOKIE);
print_r($_SESSION); 
It shows the auth cookie but the session is blank in the subdomains other then www.

What am I doing wrong here?
Do zend session require something like the cookie dot?
Reply With Quote