session problem
Posted: Sat Mar 28, 2009 3:54 am
Hi
I have 1 domains with 3 sub domains I want to share login on all 3 sub domain and main domain I am using following code and It should work.
Any Idea?
I want to know "has it something to do with server configuration?" or its because of something else?
Thanks.
I have 1 domains with 3 sub domains I want to share login on all 3 sub domain and main domain I am using following code and It should work.
Code: Select all
session_set_cookie_params(3600, '/', '.mydomain.com');
session_start(); I want to know "has it something to do with server configuration?" or its because of something else?
Thanks.