Метод suspendCurrentGuestSession
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
209–234
~/bitrix/modulesim/lib/V2/Guest/Auth/AuthorizationService.php
Исходный код
Сигнатура метода
public function suspendCurrentGuestSession(): bool
Возвращает:
bool
Описание
Ends the guest session without touching a cookie: the identity has to survive, or the return through the invite link would create a second guest. Dropping SESS_AUTH alone does not end it - the page's ajax burst authorizes the guest back from that cookie - so the mark counts the exits.