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 ()
 
 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 59 of file DefaultSession.php.

Member Function Documentation

getID ( )
See also
Session::getID()

Implements Session.

Definition at line 66 of file DefaultSession.php.

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

Implements Session.

Definition at line 73 of file DefaultSession.php.

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

Implements Session.

Definition at line 84 of file DefaultSession.php.

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

Implements Session.

Definition at line 91 of file DefaultSession.php.

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

Implements Session.

Definition at line 98 of file DefaultSession.php.

clear ( )
See also
Session::clear()

Implements Session.

Definition at line 106 of file DefaultSession.php.

destroy ( )
See also
Session::destroy()

Implements Session.

Definition at line 113 of file DefaultSession.php.

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

Implements Session.

Definition at line 121 of file DefaultSession.php.

getAuthUser ( )
See also
Session::getAuthUser()

Implements Session.

Definition at line 132 of file DefaultSession.php.

getCookiePrefix ( )
protected

Get the cookie prefix.

Returns
String

Definition at line 145 of file DefaultSession.php.

Member Data Documentation

const AUTH_USER_NAME = 'auth_user'

Definition at line 28 of file DefaultSession.php.