For more information about
sessions refer to Chapter 7.
Properties
_expire : int Length of inactive time before session expires.
_security : array
Security session validation options. Can include the keys
fix_browser and fix_adress (note that fix_adress is
not a typo).
_state : string State of the session (active, expired, destroyed, or error)
_store : JSessionStorage Session storage handler
Constructors
__construct( store : string='none', options : array=array() ) : JSession
Builds a new JSession object. store is the storage handler type, normally database.
Parameters [store] Storage handler type
[options] Options to pass to the storage handler
Appendix
[ 435 ]
Methods
clear( name : string, namespace : string='default' ) : mixed
Removes a value from the session.
Parameters name Name of value to remove
[namespace] Namespace to remove the value from
Returns Cleared value
close( ) : void
Closes the session gracefully.
destroy( ) : boolean
Resets the session removing any existing session data.
Pages:
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602