Session::begin

Open the session data, so that changes can be made to it

Synopsis

public function Session::begin($req = null)

Description

Session::begin() prepares the session data for modifications. Once the modifications have been completed, you should call Session::commit(). Session::begin() and Session::commit() are re-entrant: provided every call to Session::begin() has a matching call to Session::commit(), all except the outermost calls to Session::begin() and Session::commit() will have no effect.

Parameters

Name Direction Type Description
$req