• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/session/handlers/abstractsessionhandler.php
  • Класс: BitrixMainSessionHandlersAbstractSessionHandler
  • Вызов: AbstractSessionHandler::write
public function write($sessionId, $sessionData): bool
{
	if (!$this->validateSessionId($sessionId))
	{
		return false;
	}

	if ($this->readOnly)
	{
		return true;
	}

	return $this->processWrite($sessionId, $sessionData);
}