Actions

API17

JSession::clear

From Joomla! Documentation

Replacement filing cabinet.png
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.

Joomla 11.1 JSession::clear

Description

Unset data from the session store.

Description:JSession::clear [Edit Descripton]

public function clear (
        $name
        $namespace= 'default'
)
Parameter Type Default Description
$name string Name of variable
$namespace string 'default' Namespace to use, default to 'default'
  • Returns mixed The value from session or NULL if not set
  • Defined on line 375 of libraries/joomla/session/session.php

See also

SeeAlso:JSession::clear [Edit See Also]

User contributed notes

<CodeExamplesForm />