Answer the question
In order to leave comments, you need to log in
Why is the session on a subdomain overwritten when entering the main domain?
We have 3
example.com
domains a.example.com
b.example.com
Each domain uses a common cross-domain session:
session_set_cookie_params(604800, '/', '.example.com');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question