session_cache_limiter()
session_cache_limiter - Get and/or set the current cache limiter
Syntax
string session_cache_limiter (
string $cache_limiter)
Arguments
- cache_limiter - If cache_limiter is specified, the name of the current cache limiter is changed to the new value. Possible values Value Headers sent public Expires: (sometime in the future, according session.cache_expire)Cache-Control: public, max-age=(sometime in the future, according to session.cache_expire)Last-Modified: (the timestamp of when the session was last saved) private_no_expire Cache-Control: private, max-age=(session.cache_expire in the future), pre-check=(session.cache_expire in the future)Last-Modified: (the timestamp of when the session was last saved) private Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: private, max-age=(session.cache_expire in the future), pre-check=(session.cache_expire in the future)Last-Modified: (the timestamp of when the session was last saved) nocache Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0Pragma: no-cache
Description
session_cache_limiter() returns the name of the current cache limiter.
Version
PHP 4.0.3, 5
Return value
Returns the name of the current cache limiter.