Answer the question
In order to leave comments, you need to log in
Why don't De Seven sessions work in Bitrix?
CModule::IncludeModule("iblock");
$session = \Bitrix\Main\Application::getInstance()->getSession();
if (!$session->has('foo'))
{
$session->set('foo', 'bar');
}
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