Returns true if the session was created during this request
restart( ) : boolean
Restarts the session. This will remove any existing session data.
Returns true
set( name : string, value : mixed, namespace : string='default' ) : mixed
Sets a value in the session.
Parameters name Name of value to set
value Value
[namespace] Namespace to set the value in
Returns Previous value
_createId( ) : string
Creates a new session ID.
Returns A new session ID
_createToken( ) : string
Creates a new token.
Returns New token string
_setCounter( ) : boolean
Increments the session counter. Must only be invoked once per request.
Returns true
_setOptions( &options : array ) : boolean
Sets session options. The options associative array can include the keys name, id,
expire, and security.
Parameters options Session options
Returns true
_setTimers( ) : boolean
Sets the session timers. Includes the session start time, the last request time, and the current
request time.
Returns true
Appendix
[ 438 ]
_start( ) : boolean
Starts the session.
Pages:
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605