Answer the question
In order to leave comments, you need to log in
Why does the session crash in bitrix on a new domain?
Good day. A new domain was sent to the site on Bitrix, after which the session began to crash, and only in the public part. Everything is fine in the admin panel - once you go to the public part, authorization flies. The console shows that the session is updated every time, and the cookie lifetime is up to 1969-12-31T23:59:59.000Z.
There is no such problem on the old domain. The difference between domains is that the "problematic" one is connected to the cloudflare.com service and + it has an SSL certificate.
In which direction to dig?
PS Everywhere in the settings the domain is specified correctly, I checked it 10 times. The path to the working directory in the configuration file is specified correctly. There are no domain-related settings in php.ini and htaccess.
Answer the question
In order to leave comments, you need to log in
The problem turned out to be due to the $_SERVER['REMOTE_ADDR'] variable. If anyone is interested, the solution is described here: https://error-log.ru/yazyiki-programmirovaniya/bit...
it's not about the domain
, but about the session save bang, which each domain can have its own
or not, how the configs are configured.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question