SessionHandler
PHP Manual

SessionHandler::read

(PHP 5 >= 5.4.0)

SessionHandler::readRead session data

Description

public string SessionHandler::read ( string $session_id )

Reads the session data from the session storage, and returns the results. Called right after session_start().

Parameters

session_id

The session id to read data for.

Return Values

Always returns string of the read data. If nothing was read returns empty string.


SessionHandler
PHP Manual