web\Session regenerateID()

regenerateID() public method Updates the current session ID with a newly generated one . Please refer to http://php.net/session_regenerate_id for more details. public void regenerateID ( $deleteOldSession = false )$deleteOldSession boolean Whether to delete the old associated session file or not.

web\Session removeAll()

removeAll() public method Removes all session variables public void removeAll ( )

web\Session registerSessionHandler()

registerSessionHandler() protected method Registers session handler. protected void registerSessionHandler ( )throws yii\base\InvalidConfigException

web\Session open()

open() public method Starts the session. public void open ( )

web\Session openSession()

openSession() public method Session open handler. This method should be overridden if $useCustomStorage returns true. Do not call this method directly. public boolean openSession ( $savePath, $sessionName )$savePath string Session save path $sessionName string Session name return boolean Whether session is opened successfully

web\Session readSession()

readSession() public method Session read handler. This method should be overridden if $useCustomStorage returns true. Do not call this method directly. public string readSession ( $id )$id string Session ID return string The session data

web\Session offsetSet()

offsetSet() public method This method is required by the interface ArrayAccess. public void offsetSet ( $offset, $item )$offset integer The offset to set element $item mixed The element value

web\Session offsetUnset()

offsetUnset() public method This method is required by the interface ArrayAccess. public void offsetUnset ( $offset )$offset mixed The offset to unset element

web\Session offsetGet()

offsetGet() public method This method is required by the interface ArrayAccess. public mixed offsetGet ( $offset )$offset integer The offset to retrieve element. return mixed The element at the offset, null if no element is found at the offset

web\Session offsetExists()

offsetExists() public method This method is required by the interface ArrayAccess. public boolean offsetExists ( $offset )$offset mixed The offset to check on