Zend_Session_Core
Located in /Zend/Session/Core.php (line 46)
destroy() - This is used to destroy session data, and optionally, the session cookie itself
expireSessionCookie() - Sends an expired session id cookie, causing the client to delete the session cookie
forgetMe() - The exact opposite of rememberMe(), a session cookie is ensured to be 'session based'
getId() - get the current session id
getInstance() - Enfore the Singleton of the core.
getIterator() - return an iteratable object for use in foreach and the like, this completes the IteratorAggregate interface
isRegenerated() - convenience method to determine if session_regenerate_id() has been called during this request by Zend_Session_Core.
isStarted() - convenience method to determine if the session is already started.
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.
registerValidator() - register a validator that will attempt to validate this session for every future request
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.
plus $seconds (defaulting to self::$_rememberMeSeconds). Due to clock errors on end users' systems, large values are recommended to avoid undesireable expiration of session cookies.
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()
sessionExists() - whether or not a session exists for the current request
setId() - set an id to a user specified id
setOptions - set both the class specified
setSaveHandler() - Session Save Handler assignment
start() - Start the session.
stop() - Disable write access. Optionally disable read (not implemented).
writeClose() - Shutdown the sesssion, close writing and detach $_SESSION from the back-end storage mechanism.
This will complete the internal data transformation on this request.
Constructor
namespaceGet() - get a variable from a namespace.
namespaceIsset() - check to see if a namespace or a variable within a namespace is set
namespaceSet() - set a variable within a namespace.
namespaceSetExpirationHops() -
namespaceSetExpirationSeconds() - exprire a namespace, or data within after a specified number of seconds.
namespaceUnset() - unset a namespace or a variable within a namespace
_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.
Clone overriding - make sure that a developer cannot clone the core instance
Error message thrown when an action requires reading session data, but current Zend_Session_Core is not marked as readable.
Error message thrown when an action requires modification, but current Zend_Session_Core has been marked as read-only.
Documentation generated on Thu, 18 Jan 2007 09:52:36 -0800 by phpDocumentor 1.3.1