Lines 78-83
Link Here
|
78 |
<li><img alt="" src="../images/down.gif" /> <a href="#session">Session</a></li> |
78 |
<li><img alt="" src="../images/down.gif" /> <a href="#session">Session</a></li> |
79 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionenv">SessionEnv</a></li> |
79 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionenv">SessionEnv</a></li> |
80 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionexclude">SessionExclude</a></li> |
80 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionexclude">SessionExclude</a></li> |
|
|
81 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionexpiryupdateinterval">SessionExpiryUpdateInterval</a></li> |
81 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionheader">SessionHeader</a></li> |
82 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionheader">SessionHeader</a></li> |
82 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessioninclude">SessionInclude</a></li> |
83 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessioninclude">SessionInclude</a></li> |
83 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionmaxage">SessionMaxAge</a></li> |
84 |
<li><img alt="" src="../images/down.gif" /> <a href="#sessionmaxage">SessionMaxAge</a></li> |
Lines 411-416
Link Here
|
411 |
|
412 |
|
412 |
</div> |
413 |
</div> |
413 |
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
414 |
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
|
|
415 |
<div class="directive-section"><h2><a name="SessionExpiryUpdateInterval" id="SessionExpiryUpdateInterval">SessionExpiryUpdateInterval</a> <a name="sessionexpiryupdateinterval" id="sessionexpiryupdateinterval">Directive</a></h2> |
416 |
<table class="directive"> |
417 |
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Define the number of seconds a session's expiry may change without |
418 |
being written</td></tr> |
419 |
<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>SessionExpiryUpdateInterval <var>interval</var></code></td></tr> |
420 |
<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>SessionExpiryUpdateInterval 0</code></td></tr> |
421 |
<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory, .htaccess</td></tr> |
422 |
<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> |
423 |
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_session</td></tr> |
424 |
</table> |
425 |
<p>The <code class="directive">SessionExpiryUpdateInterval</code> directive allows |
426 |
sessions to avoid the cost associated with writing the session each request |
427 |
when only the expiry time has changed. This can be used to make a website |
428 |
more efficient or reduce load on a database when using |
429 |
<code class="module"><a href="../mod/mod_session_dbd.html">mod_session_dbd</a></code>. The session is always written if the data |
430 |
stored in the session has changed or the expiry has changed by more than the |
431 |
configured interval.</p> |
432 |
|
433 |
<p>Setting the interval to zero disables this directive, and the session |
434 |
expiry is refreshed each request.</p> |
435 |
|
436 |
<p>This directive only has an effect when combined with |
437 |
<code class="directive"><a href="#sessionmaxage">SessionMaxAge</a></code> to enable session |
438 |
expiry. Sessions without an expiry are only written when the data stored in |
439 |
the session has changed.</p> |
440 |
|
441 |
<div class="warning"><h3>Warning</h3> |
442 |
<p>Because the session expiry may not be refreshed with each request, it's |
443 |
possible for sessions to expire up to <var>interval</var> seconds early. |
444 |
Using a small interval usually provides sufficient savings while having a |
445 |
minimal effect on expiry resolution.</p></div> |
446 |
|
447 |
</div> |
448 |
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
414 |
<div class="directive-section"><h2><a name="SessionHeader" id="SessionHeader">SessionHeader</a> <a name="sessionheader" id="sessionheader">Directive</a></h2> |
449 |
<div class="directive-section"><h2><a name="SessionHeader" id="SessionHeader">SessionHeader</a> <a name="sessionheader" id="sessionheader">Directive</a></h2> |
415 |
<table class="directive"> |
450 |
<table class="directive"> |
416 |
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Import session updates from a given HTTP response header</td></tr> |
451 |
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Import session updates from a given HTTP response header</td></tr> |