Answer the question
In order to leave comments, you need to log in
Why doesn't session.cookie_domain work?
I'm trying to transfer the session to subdomains, I encountered such a problem, I solved it by adding it to .htaccess: php_value session.cookie_domain ".site.ru"
At the moment I'm using nginx, I tried to edit the session.cookie_domain parameter in php.ini, nothing happens, I tried to use this setting in php, before starting the session : session_set_cookie_params(0, '/', '.site.ru');
How to transfer session to subdomain when using nginx server?
UPD: I checked the work in Yandex.Browser - everything works. Safari doesn't work. With what it can be connected?
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