SessionHandlerInterface::write
Write session data
Writes the session data to the session storage. Called by session_write_close, when session_register_shutdown fails, or during a normal shutdown. Note: SessionHandlerInterface::close is called immediately after this function.
Signature
public function write(string
$session_id,
string
$session_data )
Parameters
$session_id
— string$session_data
— string
Returns
- bool