Search Results
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 nocache disallows any client/proxy caching. A value of public permits caching by proxies and the ...
- Definition and Usage
- Example 1
- Example 2
- Example 3
Sessions or session handling is a way to make the data available across various pages of a web application. The HTTP headers determine how the page content might be cached by the client. You can define cache control HTTP header that are sent to be sent to the client using the cache limiter. The session_cache_limiter() function is used to get or, se...
Following example demonstrates the usage of the session_cache_limiter()function. One executing the above html file it will display the following message −
Following is another example of this function, in here we have two pages from the same application in the same session. session_page1.htm This will produce the following output − On clicking on Nextthe following file is executed. session_page2.htm This will produce the following output −
You can set the cache limiter using this function as shown below − One executing the above html file it will display the following message −
PHP Editor Review - Php Manual Function session-cache-limiter : PHP Developer, PHP Editors and PHP IDE list, biggest Php Editor and IDE list on the net. All Php Editors and IDEs are fully reviewed.
Get and/or set the current cache limiter
session_cache_limiter 15 nov. 2018 23 fois (PHP 4 >= 4.0.3, PHP 5, PHP 7, PHP 8) session_cache_limiter — Lit et/ou modifie le limiteur de cache de session
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 nocache disallows any client/proxy caching. A value of public permits caching by proxies and the client, whereas private disallows caching by proxies and permits the ...
People also ask
What is a cache limiter function in PHP?
What does session_cache_limiter do?
How to define cache control HTTP header?
What is the difference between nocache and private cache limiter?
La fonction session_cache_limiter () est utilisée pour obtenir ou définir le limiteur de cache de la session courante.
