PHP 5 sessions sub-domain problem
Hi, Im developing a large auction website with 5 sub-domains, my major problem is that once I login from either of the 5 sub-domains I cannot access secure pages in the other sub-domains because the session variables do not work across the sub-domains. This means that I have to login in every sub-domain to be able to access secure functions and pages. Does anyone have a solution for this. I have used the following code
session_set_cookie_params(30 * 60, '/','.sokomart.co.ke');
This works perfectly in my local host.