Monday, 26 August 2013

Session not available on subdomains on live site, but working on localhost

Session not available on subdomains on live site, but working on localhost

I know this issue has been risen a few times here, i have browsed through
all the answer yet unable to solve my problem. I have set session cookie
before session_start() with session_set_cookie_params(0, '/',
'.domain.com') but the session still is not available on the subdomain. I
have applied the same measure in the localhost and it is working. But not
on my live site. May I know what is the problem here? Anyone has encounter
the same issue before? Please advise.

No comments:

Post a Comment