You are here

public function SessionHandlerInterface::read in Zircon Profile 8.0

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

Reads the session data.

Parameters

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

Return value

string Same session data as passed in write() or empty string when non-existent or on failure

See also

http://php.net/sessionhandlerinterface.read

File

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

Class

SessionHandlerInterface
SessionHandlerInterface for PHP < 5.4.

Code

public function read($sessionId);