JSessionStorage/destroy
From Joomla! Documentation
< API15:JSessionStorage
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.
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 />