<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.session.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'session.constants.php',
    1 => 'Попередньо визначені константи',
    2 => 'Попередньо визначені константи',
  ),
  'up' => 
  array (
    0 => 'book.session.php',
    1 => 'Sessions',
  ),
  'prev' => 
  array (
    0 => 'session.configuration.php',
    1 => 'Налаштування під час виконання',
  ),
  'next' => 
  array (
    0 => 'session.examples.php',
    1 => 'Приклади',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/session/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="session.constants" class="appendix">
 <h1 class="title">Попередньо визначені константи</h1>

 <p class="simpara">
Константи, описані нижче — визначені цим розширенням, тож доступні, коли
розширення скомпільовано як частина PHP або динамічно підключене під час
виконання.
</p>
 <dl>
  
   <dt id="constant.sid">
    <strong><code><a href="session.constants.php#constant.sid">SID</a></code></strong>
    (<span class="type"><a href="language.types.string.php" class="type string">string</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Constant containing either the session name and session ID in
     the form of <code class="literal">&quot;name=ID&quot;</code> or empty string
     if session ID was set in an appropriate session cookie. This is
     the same id as the one returned by <span class="function"><a href="function.session-id.php" class="function">session_id()</a></span>.
    </span>
   </dd>
  
  
   <dt id="constant.php-session-disabled">
    <strong><code><a href="session.constants.php#constant.php-session-disabled">PHP_SESSION_DISABLED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Return value of <span class="function"><a href="function.session-status.php" class="function">session_status()</a></span> if sessions are disabled.
    </span>
   </dd>
  
  
   <dt id="constant.php-session-none">
    <strong><code><a href="session.constants.php#constant.php-session-none">PHP_SESSION_NONE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Return value of <span class="function"><a href="function.session-status.php" class="function">session_status()</a></span> if sessions are enabled,
     but no session exists.
    </span>
   </dd>
  
  
   <dt id="constant.php-session-active">
    <strong><code><a href="session.constants.php#constant.php-session-active">PHP_SESSION_ACTIVE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     Return value of <span class="function"><a href="function.session-status.php" class="function">session_status()</a></span> if sessions are enabled,
     and a session exists.
    </span>
   </dd>
  
 </dl>
</div>
<?php manual_footer($setup); ?>