Source of: /manual/en/session.constants.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = 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 => 'en',
),
'this' =>
array (
0 => 'session.constants.php',
1 => 'Predefined Constants',
),
'up' =>
array (
0 => 'book.session.php',
1 => 'Session Handling',
),
'prev' =>
array (
0 => 'session.resources.php',
1 => 'Resource Types',
),
'next' =>
array (
0 => 'session.examples.php',
1 => 'Examples',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1>Predefined Constants</h1>
<p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>
<dl>
<dt class="varlistentry">
<span class="term">
<b><tt class="constant">SID</tt></b>
(<a href="language.types.string.php" class="type string">string</a>)
</span>
</dt><dd class="listitem">
<span class="simpara">
Constant containing either the session name and session ID in
the form of <i>"name=ID"</i> or empty string
if session ID was set in an appropriate session cookie. This is
the same id as the one returned by <a href="function.session-id.php" class="function">session_id()</a>.
</span>
</dd>
</dl>
</div>
<?php manual_footer(); ?>