API16:JSessionStorageApc/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:JSessionStorageApc/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/apc.php
Importing
jimport( 'joomla.session.storage.apc' );
Source Body
function read($id) { $sess_id = 'sess_'.$id; return (string) apc_fetch($sess_id); }
[Edit See Also] SeeAlso:JSessionStorageApc/read
Examples
<CodeExamplesForm />
