|
session_cache_limiterGet and/or set the current cache limiter Description
stringfalse session_cache_limiter(stringnull
$value = null )session_cache_limiter returns the name of the current cache limiter.
The cache limiter defines which cache control HTTP headers are sent to
the client. These headers determine the rules by which the page content
may be cached by the client and intermediate proxies. Setting the cache
limiter to
In
Setting the cache limiter to The cache limiter is reset to the default value stored in session.cache_limiter at request startup time. Thus, you need to call session_cache_limiter for every request (and before session_start is called). Parameters
Return Values
Returns the name of the current cache limiter.
On failure to change the value, Changelog
Examples
Example #1 session_cache_limiter example
|