Detailed Description

DefaultSession uses the default PHP session implementation:

  • server side storage
  • session id sent as a cookie to the client
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 26 of file DefaultSession.php.

+ Inheritance diagram for DefaultSession:

Public Member Functions

 __construct (Configuration $configuration)
 
 __destruct ()
 
 isStarted ()
 
 getID ()
 
 get ($key, $default=null)
 
 set ($key, $value)
 
 remove ($key)
 
 exist ($key)
 
 clear ()
 
 destroy ()
 
 setAuthUser ($login)
 
 getAuthUser ()
 

Public Attributes

const AUTH_USER_NAME = 'auth_user'
 

Protected Member Functions

 getCookiePrefix ()
 

Constructor & Destructor Documentation

__construct ( Configuration  $configuration)

Constructor.

Parameters
$configuration

Definition at line 36 of file DefaultSession.php.

__destruct ( )

Definition at line 55 of file DefaultSession.php.

Member Function Documentation

isStarted ( )
See also
Session::isStarted()

Implements Session.

Definition at line 62 of file DefaultSession.php.

getID ( )
See also
Session::getID()

Implements Session.

Definition at line 69 of file DefaultSession.php.

get (   $key,
  $default = null 
)
See also
Session::get()

Implements Session.

Definition at line 76 of file DefaultSession.php.

set (   $key,
  $value 
)
See also
Session::set()

Implements Session.

Definition at line 88 of file DefaultSession.php.

remove (   $key)
See also
Session::remove()

Implements Session.

Definition at line 96 of file DefaultSession.php.

exist (   $key)
See also
Session::exist()

Implements Session.

Definition at line 104 of file DefaultSession.php.

clear ( )
See also
Session::clear()

Implements Session.

Definition at line 113 of file DefaultSession.php.

destroy ( )
See also
Session::destroy()

Implements Session.

Definition at line 121 of file DefaultSession.php.

setAuthUser (   $login)
See also
Session::setAuthUser()

Implements Session.

Definition at line 130 of file DefaultSession.php.

getAuthUser ( )
See also
Session::getAuthUser()

Implements Session.

Definition at line 141 of file DefaultSession.php.

getCookiePrefix ( )
protected

Get the cookie prefix.

Returns
String

Definition at line 166 of file DefaultSession.php.

Member Data Documentation

const AUTH_USER_NAME = 'auth_user'

Definition at line 28 of file DefaultSession.php.