/CORE/system/classes/core/Session.php

Description

BIGACE - a PHP and MySQL based Web CMS.
Copyright (C) Kevin Papst.

BIGACE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

BIGACE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

For further information visit http://www.bigace.de.

Classes
Class Description
Session Represents a BIGACE Session.
Constants
BIGACE_SESSION_KEY_CID = 'BIGACE_SESS_CID' (line 30)

Defines the key for accessing the Session value "Community".

BIGACE_SESSION_KEY_LANGUAGE = 'BIGACE_SESS_LOC' (line 38)

Defines the key for accessing the Session value "Language Locale".

BIGACE_SESSION_KEY_USER = 'BIGACE_SESS_UID' (line 34)

Defines the key for accessing the Session value "User ID".

Functions
bigace_session_destroy (line 301)

Deletes the Session with the given ID.

void bigace_session_destroy (String $id)
  • String $id: id the Session ID
bigace_session_gc (line 317)

Deletes all Sessions with last refresh timestamp older than the configured Session lifetime.

The Parameter is ignored, instead the value is fetched from

  1. $GLOBALS['_BIGACE']['system']['session_lifetime']
!

void bigace_session_gc ([long $maxLifeTime = NULL])
  • long $maxLifeTime: maxLifeTime the Session lifetime in seconds
bigace_session_id (line 330)

Gets the Session ID.

  • return: the Session ID
String bigace_session_id ()
bigace_session_name (line 338)

Gets the Session Name.

  • return: the Session Name
String bigace_session_name ()
bigace_session_read (line 256)

Read session data from Database.

  • return: the Session Data
String bigace_session_read (String $id)
  • String $id: the Session ID to get the Data for

Documentation generated by phpDocumentor 1.3.1