<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.memcached.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'memcached.expiration.php',
    1 => 'Expiration Times',
    2 => 'Expiration Times',
  ),
  'up' => 
  array (
    0 => 'book.memcached.php',
    1 => 'Memcached',
  ),
  'prev' => 
  array (
    0 => 'memcached.constants.php',
    1 => 'Predefined Constants',
  ),
  'next' => 
  array (
    0 => 'memcached.callbacks.php',
    1 => 'Callbacks',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/memcached/expiration.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="memcached.expiration" class="chapter">
 <h1 class="title">Expiration Times</h1>

 <p class="para">
  Some storage commands involve sending an expiration value (relative to an
  item or to an operation requested by the client) to the server. In all such
  cases, the actual value sent may either be Unix time (number of seconds
  since January 1, 1970, as an integer), or a number of seconds starting from
  current time. In the latter case, this number of seconds may not exceed
  60*60*24*30 (number of seconds in 30 days); if the expiration value is
  larger than that, the server will consider it to be real Unix time value
  rather than an offset from current time.
 </p>
 <p class="para">
  If the expiration value is <code class="literal">0</code> (the default), the item
  never expires (although it may be deleted from the server to make place for
  other items). 
 </p>
</div>
<?php manual_footer($setup); ?>