session management issue
Posted: Mon Jun 02, 2008 5:32 am
For session purpose I am using
session_set_cookie_params(3600, '/', '.mydomain.com');
I have a domain http://www.mydomain.com and also have 2 sub domains test.mydomain.com test1.mydomain.com
I want to carry session between all sections of the website.
when i login on http://www.mydomain.com/login.php it works fine on this but when i move to test.mydoamin.com i can't access session there.
any help?
thank you
session_set_cookie_params(3600, '/', '.mydomain.com');
I have a domain http://www.mydomain.com and also have 2 sub domains test.mydomain.com test1.mydomain.com
I want to carry session between all sections of the website.
when i login on http://www.mydomain.com/login.php it works fine on this but when i move to test.mydoamin.com i can't access session there.
any help?
thank you