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. session_set_cookie_params(3600, '/', '.mydomain.com'); session_start(); PHP: Any Idea? I want to know "has it something to do with server configuration?" or its because of something else? Thanks.
right now I am using session_set_cookie_params(3600, '/', '.mydomain.com'); But its not working, should I remove it and add that you mentioned? Thanks
Your server will not explode by launching this "function" - try and see if it helps or not ( though, should help )