Procedural File: Session.php

Source Location: /CORE/system/classes/core/Session.php

Page Details

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, which initializes values like Community ID, User ID and language.
Functions
bigace_session_destroy  [line 306]

void bigace_session_destroy( String $id  )

Deletes the Session with the given ID.

Parameters:
String   $id:  id the Session ID


[ Top ]
bigace_session_gc  [line 322]

void bigace_session_gc( [long $maxLifeTime = NULL]  )

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']
!

Parameters:
long   $maxLifeTime:  maxLifeTime the Session lifetime in seconds


[ Top ]
bigace_session_id  [line 330]

String bigace_session_id( )

Gets the Session ID.


API Tags:
Return:  the Session ID


[ Top ]
bigace_session_name  [line 338]

String bigace_session_name( )

Gets the Session Name.


API Tags:
Return:  the Session Name


[ Top ]
bigace_session_read  [line 261]

String bigace_session_read( String $id  )

Read session data from Database.

Parameters:
String   $id:  the Session ID to get the Data for

API Tags:
Return:  the Session Data


[ Top ]
bigace_session_start  [line 346]

void bigace_session_start( )


[ Top ]
bigace_session_started  [line 342]

void bigace_session_started( )


[ Top ]