API17

API17:JSession::clear

From Joomla! Documentation

Joomla 11.1 JSession::clear

Description

Unset data from the session store.


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


User contributed notes

Code Examples