API15

JSessionStorageEaccelerator/read

From Joomla! Documentation

< API15:JSessionStorageEaccelerator
Revision as of 17:12, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Read the data for a particular session identifier from the SessionHandler backend. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description[edit]

Read the data for a particular session identifier from the SessionHandler backend.

[Edit Descripton]

Template:Description:JSessionStorageEaccelerator/read

Syntax[edit]

read($id)
Parameter Name Default Value Description
$id $id The session identifier.

Returns[edit]

string The session data.

Defined in[edit]

libraries/joomla/session/storage/eaccelerator.php

Importing[edit]

jimport( 'joomla.session.storage.eaccelerator' );

Source Body[edit]

function read($id)
{
        $sess_id = 'sess_'.$id;
        return (string) eaccelerator_get($sess_id);
}

[Edit See Also] Template:SeeAlso:JSessionStorageEaccelerator/read

Examples[edit]

<CodeExamplesForm />