|symfony session problem with doamin name [message #97234]
||Tue, 13 April 2010 08:11
Registered: April 2010
Hi some one please help me...|
Actually i have a domain name http://www.example.com, if i logged in to this domain and in another tab if i type simply http://example.com then logged session wont be displayed in the http://example.com. I am using symfony 1.2 version.
example, if you are logged in on http://www.example.com, you will NOT be logged in on just http://example.com.
For this i added session_cookie_domain: .example.com at factories.yml
and i added session_set_cookie_params($lifetime, $path, '.example.com', $secure, $httpOnly); at sfSessionStorage.class.php also...
But still above things are does not working, and i cleared all cache and log files each time...
Please some one help me soon......