T
T
Trionik2021-08-27 14:42:00
1C-Bitrix
Trionik, 2021-08-27 14:42:00

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');            
}


This from the developer course does not work, just a blank screen and that's it

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question