Hi, thanks for your reply. According with this documentation page http://framework.zend.com/manual/en/zend.session.global_session_management.html#zend.session.global_session_management.setoptions.example
and also with your advice, I added the line cookie_domain in my application.ini [..] resources.session.cookie_domain = .mysite.com [..] then, in the bootstrap Zend_Session::setOptions($config->resources->session->toArray()); The array contains the correct data. After that, I tried to logout and login in again, but it does'n work, I am logged only in the domain where I've logged in. Do you have an idea on where I do mistake? Many thanks Sergio Rinaudo > Date: Sun, 30 Aug 2009 02:09:55 +0200 > From: [email protected] > To: [email protected] > Subject: Re: [fw-general] Zend Auth and subdomains > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sergio Rinaudo wrote on 30.08.2009 01:44: > > If a website is structured between various subdomains, what should be a > > solution with Zend Framework to have an user logged for each subdomain? > > I'm stuck with this problem.. > > Just set the cookie domain in the Zend_Session options to ".example.com" > > - -- > ................................... > : ___ _ ___ ___ ___ _ ___ : > : | \ /_\ / __| _ \ _ (_) \ : > : | |) / _ \\__ \ _/ / | |) | : > : |___/_/:\_\___/_| |_|_\_|___/ : > :........:........................: > : Web : http://www.dasprids.de : > : E-mail : [email protected] : > : Jabber : [email protected] : > : ICQ : 105677955 : > :........:........................: > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkqZw1AACgkQ0HfT5Ws789BStQCggv7Jic0LbYjazFQ6lp7bTt/N > AL4AoNCt09IlEgua5cK4LaIea8sZKlCx > =A5tE > -----END PGP SIGNATURE----- _________________________________________________________________ Porta Messenger in Vacanza! Scaricalo sul cellulare! http://new.windowslivemobile.msn.com/IT-IT/windows-live-messenger/default.aspx
