API15

JSessionStorage/destroy

From Joomla! Documentation

< API15:JSessionStorage
Revision as of 17:12, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Destroy the data for a particular session identifier in 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]

Destroy the data for a particular session identifier in the SessionHandler backend.

[Edit Descripton]

Template:Description:JSessionStorage/destroy

Syntax[edit]

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

Returns[edit]

boolean True on success, false otherwise.

Defined in[edit]

libraries/joomla/session/storage.php

Importing[edit]

jimport( 'joomla.session.storage' );

Source Body[edit]

function destroy($id)
{
        return true;
}

[Edit See Also] Template:SeeAlso:JSessionStorage/destroy

Examples[edit]

<CodeExamplesForm />