2011-11-27 01:05:05 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-12-02 09:26:47 +00:00
|
|
|
<!-- $Revision$ -->
|
2011-11-27 01:05:05 +00:00
|
|
|
|
|
|
|
<refentry xml:id="function.session-status" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>session_status</refname>
|
|
|
|
<refpurpose>Returns the current session status</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsect1 role="description"><!-- {{{ -->
|
|
|
|
&reftitle.description;
|
|
|
|
<methodsynopsis role="procedural">
|
|
|
|
<type>int</type><methodname>session_status</methodname>
|
|
|
|
<void />
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
<function>session_status</function> is used to return the current session status.
|
|
|
|
</para>
|
|
|
|
</refsect1><!-- }}} -->
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues"><!-- {{{ -->
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2011-11-30 18:54:41 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2011-11-27 01:05:05 +00:00
|
|
|
<simpara><constant>PHP_SESSION_DISABLED</constant> if sessions are disabled.</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara><constant>PHP_SESSION_NONE</constant> if sessions are enabled, but none exists.</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara><constant>PHP_SESSION_ACTIVE</constant> if sessions are enabled, and one exists.</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
</refsect1><!-- }}} -->
|
|
|
|
|
|
|
|
<refsect1 role="seealso"><!-- {{{ -->
|
|
|
|
&reftitle.seealso;
|
|
|
|
<simplelist>
|
|
|
|
<member><function>session_start</function></member>
|
|
|
|
</simplelist>
|
|
|
|
</refsect1><!-- }}} -->
|
|
|
|
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|
|
|
|
|