API15:JSessionStorageMemcache/read
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Read the data for a particular session identifier from the SessionHandler backend.
Description:JSessionStorageMemcache/read
Syntax
read($id)
| Parameter Name | Default Value | Description |
|---|---|---|
| $id | $id The session identifier. |
Returns
string The session data.
Defined in
libraries/joomla/session/storage/memcache.php
Importing
jimport( 'joomla.session.storage.memcache' );
Source Body
function read($id) { $sess_id = 'sess_'.$id; $this->_setExpire($sess_id); return $this->_db->get($sess_id); }
[Edit See Also] SeeAlso:JSessionStorageMemcache/read
Examples
<CodeExamplesForm />
