Tag Archives: session

Joomla: Session State Values

Joomla has its methods for setting and retrieving session values in php. This will create a session variable. First parameter is the key and should have prefix for its own namespace. $option is the current component name. This is so it doesn’t conflict with other component’s session variables. $mainframe->setUserState( "$option.state_name", "value" ); Retrieving Session Variable. […]