english/libraries/joomla/session/session.php
/**
	 * Unset data from the session store
	 *
	 * @param   string  $name       Name of variable
	 * @param   string  $namespace  Namespace to use, default to 'default'
	 *
	 * @return  mixed   The value from session or NULL if not set
	 *
	 * @since   11.1
	 */
Unset data from the session store
@param   string  $name       Name of variable
@param   string  $namespace  Namespace to use, default to 'default'

@return  mixed   The value from session or NULL if not set


Unset data from the session store @param string $name Name of variable @param string $namespace Namespace to use default to ' default ' @return mixed The value from session or NULL if not set
public function clear($name, $namespace = 'default')
	{
		$namespace = '__'.$namespace;
		if ($this->_state !== 'active') {
			return null;
		}
		$value	=	null;
		if (isset($_SESSION[$namespace][$name])) {
			$value	=	$_SESSION[$namespace][$name];
			unset($_SESSION[$namespace][$name]);
		}
		return $value;
	}
public function clear ( $ name , $ namespace = 'default' ) { $ namespace = '__' . $ namespace ; if ( $ this -> _state !== 'active' ) { return null ; } $ value = null ; if ( isset ( $ _SESSION [ $ namespace ] [ $ name ] ) ) { $ value = $ _SESSION [ $ namespace ] [ $ name ] ; unset ( $ _SESSION [ $ namespace ] [ $ name ] ) ; } return $ value ; }
Unset data from the session store
 @param   string  $name       Name of variable
 @param   string  $namespace  Namespace to use, default to 'default'
Unset data from the session store @param string $name Name of variable @param string $namespace Namespace to use default to ' default '
// Add prefix to namespace to avoid collisions // @TODO :: generated error here