Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cFrontendSession
  • cSession
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cFrontendSession

Session class for the frontend. It uses a different prefix. The rest is the same

cSession
Extended by cFrontendSession
Package: Core\Session
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Frederic Schneider
Located at classes/class.session.php
Methods summary
public
# __construct( )

cFrontendSession constructor. Starts a session if it does not yet exist.

cFrontendSession constructor. Starts a session if it does not yet exist.

Session cookies will be created with these parameters:

The session cookie will have a lifetime of 0 which means "until the browser is closed".

It will be valid for the host name of the server which generated the cookie and the path as in the configured frontend URL.

Since

CON-2785 the cookie path can be configured as $cfg['cookie']['path']. Configure in <CLIENT>/data/config/<ENV>/config.local.php
CON-2423 Via $cfg['secure'] you can define if the cookie should only be sent over secure connections. Configure in data/config/<ENV>/config.misc.php The session cookie is accessible only through the HTTP protocol.

Overrides

cSession::__construct()
public mixed
# url( string $url )

This function overrides cSession::url() so that the contenido=1 isn't attached to the URL for the frontend

This function overrides cSession::url() so that the contenido=1 isn't attached to the URL for the frontend

Parameters

$url
string
$url a URL

Returns

mixed

See

cSession::url()

Overrides

cSession::url()
Methods inherited from cSession
_rSerialize(), delete(), freeze(), isRegistered(), register(), selfURL(), serialize(), start(), thaw(), unregister()
Properties inherited from cSession
$_prefix, $_pt, $id, $name
CMS CONTENIDO 4.10.0 API documentation generated by ApiGen 2.8.0