--- docs/manual/mod/directives.html.en (revision 1696322) +++ docs/manual/mod/directives.html.en (working copy) @@ -592,6 +592,7 @@
The
Setting the interval to zero disables this directive, and the session + expiry is refreshed each request.
+ +This directive only has an effect when combined with
+
Because the session expiry may not be refreshed with each request, it's + possible for sessions to expire up to interval seconds early. + Using a small interval usually provides sufficient savings while having a + minimal effect on expiry resolution.
Description: | Define the number of seconds a session's expiry may change without +being written |
---|---|
Syntax: | SessionExpiryUpdateInterval interval |
Default: | SessionExpiryUpdateInterval 0 |
Context: | server config, virtual host, directory, .htaccess |
Status: | Extension |
Module: | mod_session |
The SessionExpiryUpdateInterval
directive allows
+ sessions to avoid the cost associated with writing the session each request
+ when only the expiry time has changed. This can be used to make a website
+ more efficient or reduce load on a database when using
+ mod_session_dbd
. The session is always written if the data
+ stored in the session has changed or the expiry has changed by more than the
+ configured interval.
Setting the interval to zero disables this directive, and the session + expiry is refreshed each request.
+ +This directive only has an effect when combined with
+ SessionMaxAge
to enable session
+ expiry. Sessions without an expiry are only written when the data stored in
+ the session has changed.
Because the session expiry may not be refreshed with each request, it's + possible for sessions to expire up to interval seconds early. + Using a small interval usually provides sufficient savings while having a + minimal effect on expiry resolution.
Description: | Import session updates from a given HTTP response header |
---|