expireSessionCookie() - Sends an expired session id cookie, causing the client to delete the session cookie
expireSessionCookie() : void
Static
forgetMe() - Write a volatile session cookie, removing any persistent cookie that may have existed. The session
would end upon, for example, termination of a web browser program.
forgetMe() : void
Static
getId() - get the current session id
getId() : string
Static
Returns
string
getIterator() - return an iteratable object for use in foreach and the like,
this completes the IteratorAggregate interface
Whether or not session has been destroyed via session_destroy()
isDestroyed() : boolean
Static
Returns
boolean
isReadable() - returns a boolean indicating if namespaces can write (use setters)
isReadable() : boolean
Static
Returns
boolean
isRegenerated() - convenience method to determine if session_regenerate_id()
has been called during this request by Zend_Session.
isRegenerated() : boolean
Static
Returns
boolean
isStarted() - convenience method to determine if the session is already started.
isStarted() : boolean
Static
Returns
boolean
isWritable() - returns a boolean indicating if namespaces can write (use setters)
isWritable() : boolean
Static
Returns
boolean
namespaceGet() - get all variables in a namespace
Deprecated: Use getIterator() in Zend_Session_Namespace.
namespaceGet(string $namespace) : array
Static
Parameters
$namespace
string
Returns
array
namespaceIsset() - check to see if a namespace is set
namespaceIsset(string $namespace) : boolean
Static
Parameters
$namespace
string
Returns
boolean
namespaceUnset() - unset a namespace or a variable within a namespace
namespaceUnset(string $namespace) : void
Static
Parameters
$namespace
string
Exceptions
\Zend_Session_Exception
regenerateId() - Regenerate the session id. Best practice is to call this after
session is started. If called prior to session starting, session id will be regenerated
at start time.
regenerateId() : void
Static
Exceptions
\Zend_Session_Exception
registerValidator() - register a validator that will attempt to validate this session for
every future request
rememberMe() - Write a persistent cookie that expires after a number of seconds in the future. If no number of
seconds is specified, then this defaults to self::$_rememberMeSeconds. Due to clock errors on end users' systems,
large values are recommended to avoid undesirable expiration of session cookies.
rememberMe(integer $seconds = null) : void
Static
Parameters
$seconds
integer
OPTIONAL specifies TTL for cookie in seconds from present time
rememberUntil() - This method does the work of changing the state of the session cookie and making
sure that it gets resent to the browser via regenerateId()
rememberUntil(integer $seconds = 0) : void
Static
Parameters
$seconds
integer
sessionExists() - whether or not a session exists for the current request
sessionExists() : boolean
Static
Returns
boolean
setId() - set an id to a user specified id
setId(string $id) : void
Static
Parameters
$id
string
Exceptions
\Zend_Session_Exception
setOptions - set both the class specified
setOptions(array $userOptions = array()) : void
Static
Parameters
$userOptions
array
pass-by-keyword style array of
Exceptions
\Zend_Session_Exception
setSaveHandler() - Session Save Handler assignment
_processGlobalMetadata() - this method initizes the sessions GLOBAL
metadata, mostly global data expiration calculations.
_processStartupMetadataGlobal() : void
Static
_processValidator() - internal function that is called in the existence of VALID metadata
_processValidators() : void
Static
Exceptions
\Zend_Session_Exception
Properties
Since expiring data is handled at startup to avoid __destruct difficulties,
the data that will be expiring at end of this request is held here
$_expiringData : array
Default
array()
Static
Whether or not session permits reading (reading data in $_SESSION[])
$_readable : boolean
Default
false
Static
$_throwStartupException
$_throwStartupExceptions : boolean | \bitset
Default
true
Static
Whether or not session permits writing (modification of $_SESSION[])
$_writable : boolean
Default
false
Static
Private list of php's ini values for ext/session
null values will default to the php.ini value, otherwise
the value below will overwrite the default ini value, unless
the user has set an option explicity with setOptions()
Whether the default options listed in Zend_Session::$_localOptions have been set
$_defaultOptionsSet : boolean
Default
false
Static
Whether or not session has been destroyed via session_destroy()
$_destroyed : boolean
Default
false
Static
List of options pertaining to Zend_Session that can be set by developers
using Zend_Session::setOptions(). This list intentionally duplicates
the individual declaration of static "class" variables by the same names.