Table of Contents

getSession

API Package Subpackage Last reviewed Doc status
API Home Package Joomla.Framework Subpackage JFactory::getSession Never Work in Progress

Get a session object<p>Returns a reference to the global <a href=”../Joomla-Framework/Session/JSession.html”>JSession</a> object, only creating it if it doesn’t already exist.</p>

Syntax

<a href=”../Joomla-Framework/Session/JSession.html”>object JSession</a> &getSession ( $options )

$options array An array containing session options

Examples

Example