Bitrix Sessions

Covers Bitrix sessions — Application::getSession(), getKernelSession(), getLocalSession(), BX_SECURITY_SESSION_READONLY and BX_SECURITY_SESSION_VIRTUAL modes, storages (cache, database, redis, null session handler), separated session mode in .settings.php. Applied instead of direct $_SESSION access, when optimizing AJAX session locks, configuring alternative storages, and separating kernel/local sessions. Key terms — session, getSession, session storage, BX_SECURITY_SESSION_READONLY, separated session, getKernelSession, getLocalSession.

bxmaximum f73b0aa 6.1 KB Updated

File contents

bxmaximum/bitrix-framework-skills/tree/main/skills/bitrix-sessions commit f73b0aaffa

Frequently asked questions

npx skillmds@latest add bxmaximum/bitrix-sessions