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::set


Set data into the session store.

Description:JSession::set [Edit Descripton]

public function set (
        $namespace= 'default'
Parameter Type Default Description
$name string Name of a variable.
$value mixed null Value of a variable.
$namespace string 'default' Namespace to use, default to 'default'.
  • Returns mixed Old value of a variable.
  • Defined on line 329 of libraries/joomla/session/session.php

See also

SeeAlso:JSession::set [Edit See Also]

User contributed notes

<CodeExamplesForm />