Answer the question
In order to leave comments, you need to log in
How to set cookies for authorization on all sites with multi-site?
Haven't done something like this yet.
in technical support sent here: https:
//dev.1c-bitrix.ru/learning/course/
?COURSE_I ... -
one stupid example and that's all
How do I determine which cookie to set on all sites if I use bitrix:system.auth.form for authorization?
Should this parameter be displayed? :
CMain::ShowSpreadCookieHTML()
Let's say I display the cookie I need with what value should I replace this VISITOR_ID, what to get it, and where can I read about it?
global $APPLICATION;
$VISITOR_ID = $APPLICATION->get_cookie("VISITOR_ID");
unset($_SESSION["SESS_AUTH"]);
unset($_SESSION["SESS_OPERATIONS"]);
unset($_SESSION["MODULE_PERMISSIONS"]);
unset($_SESSION["SESS_PWD_HASH_TESTED"]);
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