public function read($session_id)
	{
		// get session hash
		$session = $this->database->hgetall($this->key($session_id));

		// return session data
		return (isset($session['data'])) ? $session['data'] : null;
	}
public function read($session_id)
	{
		// get session hash
		$session = $this->database->hgetall($this->key($session_id));

		// return session data
		return (isset($session['data'])) ? $session['data'] : null;
	}
public function read ( $ session_id ) { // get session hash $ session = $ this -> database -> hgetall ( $ this -> key ( $ session_id ) ) ; // return session data return ( isset ( $ session [ 'data' ] ) ) ? $ session [ 'data' ] : null ; }
Read session hash for Id

@param   string  $session_id  Session Id
@return  mixed   Session Data
Read session hash for Id