[Zend_Session] element index

Package indexes

All elements
a c d e f g h i l n o r s t u v w z _
_
top
Variable $_namespace
Namespace - which namespace this instance of zend-session is saving-to/getting-from
Variable $_namespaceLocks
Namespace locking mechanism
Variable $_sessionCore
Session_Core instance
Variable $_singleInstances
Single instance namespace array to ensure data security.
Method _startNamespace
_startNamespace() - while this method is public, its really only intended use is by the constructor of Zend_Session object. This method initializes the session namespace.
Method __clone
Clone overriding - make sure that a developer cannot clone the core instance
Method __construct
__construct() - This will create an instance that saves to/gets from an
Method __construct
Constructor
Method __get
Zend_Session::__get() in Session.php
__get() - method to get a variable in this objects current namespace
Method __isset
__isset() - determine if a variable in this objects namespace is set
Method __set
Zend_Session::__set() in Session.php
__set() - method to set a variable/value in this objects namespace
Method __unset
__unset() - unset a variable in this objects namespace.
a
top
Page Abstract.php
Abstract.php in Abstract.php
c
top
Page Core.php
Core.php in Core.php
Method close
Close Session - free resources
d
top
Method destroy
destroy() - This is used to destroy session data, and optionally, the session cookie itself
Method destroy
Destroy Session - remove data from resource for given session id
e
top
Method expireSessionCookie
expireSessionCookie() - Sends an expired session id cookie, causing the client to delete the session cookie
Page Exception.php
Exception.php in Exception.php
f
top
Method forgetMe
forgetMe() - The exact opposite of rememberMe(), a session cookie is ensured to be 'session based'
g
top
Method getId
getId() - get the current session id
Method getInstance
getInstance() - Enfore the Singleton of the core.
Method getIterator
getIterator() - return an iteratable object for use in foreach and the like, this completes the IteratorAggregate interface
Method getIterator
getIterator() - return an iteratable object for use in foreach and the like, this completes the IteratorAggregate interface
Method getValidData
GetValidData() - This method should be used to retrieve the environment variables that will be needed to 'validate' a session.
Method gc
Garbage Collection - remove old session data older than $maxlifetime (in seconds)
h
top
Page HttpUserAgent.php
HttpUserAgent.php in HttpUserAgent.php
i
top
Method isLocked
isLocked() - return lock status, true if, and only if, read-only
Method isRegenerated
isRegenerated() - convenience method to determine if session_regenerate_id() has been called during this request by Zend_Session_Core.
Method isStarted
isStarted() - convenience method to determine if the session is already started.
Class Constant SINGLE_INSTANCE
used as option to constructor to prevent additional instances to the same namespace
Page Interface.php
Interface.php in Interface.php
Page Interface.php
Interface.php in Interface.php
l
top
Method lock
Zend_Session::lock() in Session.php
lock() - mark a session/namespace as readonly
n
top
Method namespaceGet
namespaceGet() - get a variable from a namespace.
Method namespaceIsset
namespaceIsset() - check to see if a namespace or a variable within a namespace is set
Method namespaceSet
namespaceSet() - set a variable within a namespace.
Method namespaceSetExpirationHops
namespaceSetExpirationHops() -
Method namespaceSetExpirationSeconds
namespaceSetExpirationSeconds() - exprire a namespace, or data within after a specified number of seconds.
Method namespaceUnset
namespaceUnset() - unset a namespace or a variable within a namespace
o
top
Method open
Open Session - retrieve resources
r
top
Method regenerateId
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.
Method registerValidator
registerValidator() - register a validator that will attempt to validate this session for every future request
Method rememberMe
rememberMe() - Replace the session cookie with one that will expire after a number of seconds in the future (not when the browser closes). Seconds are determined by self::$_rememberMeSeconds.
Method rememberUntil
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()
Method read
Read session data
s
top
Method sessionExists
sessionExists() - whether or not a session exists for the current request
Method setExpirationHops
setExpirationHops() - expire the namespace, or specific variables after a specified number of page hops
Method setExpirationSeconds
setExpirationSeconds() - expire the namespace, or specific variables after a specified number of seconds
Method setId
setId() - set an id to a user specified id
Method setOptions
setOptions - set both the class specified
Method setSaveHandler
setSaveHandler() - Session Save Handler assignment
Method setValidData
SetValidData() - This method should be used to store the environment variables that will be needed in order to validate the session later in the validate() method.
Method start
start() - Start the session.
Method stop
stop() - Disable write access. Optionally disable read (not implemented).
Page Session.php
Session.php in Session.php
Method setup
Setup() - this method will store the environment variables nessissary to be able to validate against in future requests.
Method setup
Setup() - this method will get the current user agent and store it in the session
t
top
Class Constant _THROW_NOT_READABLE_MSG
Error message thrown when an action requires reading session data, but current Zend_Session_Core is not marked as readable.
Class Constant _THROW_NOT_WRITABLE_MSG
Error message thrown when an action requires modification, but current Zend_Session_Core has been marked as read-only.
u
top
Method unlock
Zend_Session::unlock() in Session.php
unlock() - unmark a session/namespace to enable read & write
Method unlockAll
unlockAll() - unmark all session/namespaces to enable read & write
Method unsetAll
unsetAll() - unset all variables in this namespace
v
top
Method validate
Validate() - this method will be called at the beginning of every session to determine if the current environment matches that which was store in the setup() procedure.
Method validate
Validate() - this method will determine if the current user agent matches the user agent we stored when we initialized this variable.
w
top
Method writeClose
writeClose() - Shutdown the sesssion, close writing and detach $_SESSION from the back-end storage mechanism.
Method write
Write Session - commit data to resource
z
top
Class Zend_Session
Zend_Session in Session.php
Zend_Session
Class Zend_Session_Core
Zend_Session_Core in Core.php
Zend_Session_Core
Class Zend_Session_Exception
Zend_Session_Exception in Exception.php
Zend_Session_Exception
Class Zend_Session_Validator_Abstract
Zend_Session_Validator_Abstract
Class Zend_Session_SaveHandler_Interface
Zend_Session_SaveHandler_Interface
Class Zend_Session_Validator_HttpUserAgent
Zend_Session_Validator_HttpUserAgent
Class Zend_Session_Validator_Interface
Zend_Session_Validator_Interface
a c d e f g h i l n o r s t u v w z _