english/libraries/joomla/factory.php
/**
	 * Create a session object
	 *
	 * @param   array  $options An array containing session options
	 *
	 * @return  JSession object
	 * @since   11.1
	 */
Create a session object
@param   array  $options An array containing session options

@return  JSession object
@since   11.1
Create a session object @param array $options An array containing session options @return JSession object @since 11 . 1
protected static function _createSession($options = array())
	{
		jimport('joomla.session.session');
		$conf		= self::getConfig();
		$handler	= $conf->get('session_handler', 'none');
		$options['expire'] = ($conf->get('lifetime')) ? $conf->get('lifetime') * 60 : 900;
		$session = JSession::getInstance($handler, $options);
		if ($session->getState() == 'expired') {
			$session->restart();
		}
		return $session;
	}
protected static function _createSession ( $ options = array ( ) ) { jimport ( 'joomla.session.session' ) ; $ conf = self :: getConfig ( ) ; $ handler = $ conf -> get ( 'session_handler' , 'none' ) ; $ options [ 'expire' ] = ( $ conf -> get ( 'lifetime' ) ) ? $ conf -> get ( 'lifetime' ) * 60 : 900 ; $ session = JSession :: getInstance ( $ handler , $ options ) ; if ( $ session -> getState ( ) == 'expired' ) { $ session -> restart ( ) ; } return $ session ; }
Create a session object
 @param   array  $options An array containing session options
Create a session object @param array $options An array containing session options
// Get the editor configuration setting // Config time is in minutes