LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
Category
Zend
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
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()
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.
expireSessionCookie() - Sends an expired session id cookie, causing the client to delete the session cookie
forgetMe() : 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.
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.
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.
Parameters
Name
Type
Description
$seconds
int
OPTIONAL specifies TTL for cookie in seconds from present time
rememberUntil(int $seconds = 0) : void
static
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()
Parameters
Name
Type
Description
$seconds
int
sessionExists() : bool
static
sessionExists() - whether or not a session exists for the current request