Chyrp

Session

Handles their session.

Summary
Session Handles their session.
Variables
$data Caches session data.
Functions
open true
close This is the very last action performed by Chyrp.
read Reads their session from the database.
write Writes their session to the database, or updates it if it already exists.
destroy Destroys their session.
gc Garbage collector.  Removes sessions older than 30 days and sessions with no stored data.

Variables

$data

static $data

Caches session data.

Functions

open

static function open()

Returns

true

close

static function close()

This is the very last action performed by Chyrp.

read

static function read( $id )

Reads their session from the database.

write

static function write( $id,
$data )

Writes their session to the database, or updates it if it already exists.

destroy

static function destroy( $id )

Destroys their session.

gc

static function gc()

Garbage collector.  Removes sessions older than 30 days and sessions with no stored data.