Reference

Guide

$session->mode()

Gets or sets the transmission mode Setting only works for new sessions that haven't been transmitted yet

$session->mode(string $mode = null): string

Parameters

Name Type Default Description
$mode string null

Optional new transmission mode

Return type

string

Source code

kirby/src/Session/Session.php#L157