This does not remove the session
cookie or session id. Equivalent to the PHP session_destroy() function.
Returns true
fork( ) : boolean
Creates a new session, and copies the exiting session data to the new session.
Returns true
&get( name : string, default : mixed='null', namespace :
string='default' ) : mixed
Gets a value from the session. If the value is not set, default is returned.
Parameters name Name of the value to retrieve
[default] Default value
[namespace] Namespace to retrieve the value from
Returns Value from the session
getExpire( ) : int
Gets the number of inactive minutes to wait before the session expires.
Returns Session lifetime in minutes
getId( ) : string
Gets the ID of the session. Returns null if the session has been destroyed.
Returns Session ID
Appendix
[ 436 ]
static &getInstance( handler : string, options : array ) : JSession
Gets the global instance of JSession. If it doesn't already exist it will be created.
Parameters handler Storage handler type
options Options to pass to the storage handler
Returns Global session object
getName( ) : string
Gets the name of the session.
Pages:
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603