I've probably found the problem suhosin.cookie.cryptdocroot = 1
suhosin.session.cryptdocroot = 1 and I cannot change these params for my host :) Is it any other method to keep the user logged between subdomains? Sergio Rinaudo From: [email protected] To: [email protected]; [email protected] Date: Sun, 30 Aug 2009 04:01:19 +0200 Subject: RE: [fw-general] Zend Auth and subdomains I still have this problem, I've done some tests: The value of $_COOKIE["PHPSESSID"] is readable and identical on every subdomain. The problem is that if I change subdomain I am automatically disconnected. Maybe is there some other configuration with Zend_Auth? Sergio Rinaudo From: [email protected] To: [email protected]; [email protected] Date: Sun, 30 Aug 2009 02:26:01 +0200 Subject: RE: [fw-general] Zend Auth and subdomains 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----- Screensaver e Sfondi: personalizza il tuo PC con Messenger! Crea l'Avatar con la tua faccia. Personalizza il tuo Messenger! _________________________________________________________________ Racconta la tua estate, crea il tuo blog. http://www.windowslive.it/spaces.aspx
