/** * Create the user session. * * Old sessions are flushed based on the configuration value for the cookie * lifetime. If an existing session, then the last access time is updated. * If a new session, a session id is generated and a record is created in * the #__sessions table. * * @param string $name The sessions name. * @return JSession JSession on success. May call exit() on database error. */ protected function _createSession($name) { return parent::_createSession(self::getHash('site')); }