You are here

public function SessionHandlerInterface::write in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Resources/stubs/SessionHandlerInterface.php \SessionHandlerInterface::write()

Writes the session data to the storage.

Care, the session ID passed to write() can be different from the one previously received in read() when the session ID changed due to session_regenerate_id().

Parameters

string $sessionId Session ID , see http://php.net/function.session-id:

string $data Serialized session data to save:

Return value

bool true on success, false on failure

See also

http://php.net/sessionhandlerinterface.write

File

vendor/symfony/http-foundation/Resources/stubs/SessionHandlerInterface.php, line 79

Class

SessionHandlerInterface
SessionHandlerInterface for PHP < 5.4.

Code

public function write($sessionId, $data);