Properties

$_iSessionLifetime

$_iSessionLifetime : 

Type

$_sSessionPath

$_sSessionPath : 

Type

$_oSession

$_oSession : 

Type

$_bSession

$_bSession : 

Type

$_aDefaultSession

$_aDefaultSession : 

Type

$_sSessionId

$_sSessionId : 

Type

$_aSessionData

$_aSessionData : 

Type

Methods

__construct()

__construct() : $this

__construct()

Returns

$this

load()

load() : $this|boolean

load()

Singleton to secure to create only one instance of this class.

Returns

$this|boolean

start()

start() : string

start()

Returns

string

getId()

getId() : string

getId()

Returns

string

close()

close() : boolean

close()

Returns

boolean

exists()

exists(  $sSessionName = NULL) : boolean

exists()

Parameters

$sSessionName

Returns

boolean

set()

set(string  $sValue,   $sSessionName = NULL,   $bPush = FALSE,   $iKey = NULL) : mixed|boolean

set()

Parameters

string $sValue
$sSessionName
$bPush
$iKey

Returns

mixed|boolean

get()

get(  $sSessionName = NULL) : mixed|boolean

get()

Parameters

$sSessionName

Returns

mixed|boolean

getKeyValue()

getKeyValue(integer  $iKey,   $sSessionName = NULL) : mixed|boolean

getKeyValue()

Parameters

integer $iKey
$sSessionName

Returns

mixed|boolean

delete()

delete(  $sSessionName = NULL) : boolean

delete()

Parameters

$sSessionName

Returns

boolean

_saveData()

_saveData(array  $aData) : void

_saveData()

Parameters

array $aData

_getData()

_getData(  $bUpdate = FALSE) : mixed

_getData()

Parameters

$bUpdate

Returns

mixed