From Joomla! Documentation

The "API17" 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.

Joomla 11.1 JSession::has


Check whether data exists in the session store.

public function has (
        $namespace= 'default'
Parameter Type Default Description
$name string Name of variable
$namespace string 'default' Namespace to use, default to 'default'
  • Returns boolean True if the variable exists
  • Defined on line 356 of libraries/joomla/session/session.php

See also

User contributed notes

Code Examples