Files
Fernando Wobeto 3039be233e ajustes em arquivos de session (#439)
* ajustes em arquivos de session
2023-12-15 13:44:52 -03:00

65 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 601f6f4ce5827d441a7e110184708f0abe9fd447 Maintainer: fernandowobeto Status: ready --><!-- CREDITS: fernandowobeto -->
<refentry xml:id="sessionupdatetimestamphandlerinterface.validateid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SessionUpdateTimestampHandlerInterface::validateId</refname>
<refpurpose>Valida o ID</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="SessionUpdateTimestampHandlerInterface">
<modifier>public</modifier> <type>bool</type><methodname>SessionUpdateTimestampHandlerInterface::validateId</methodname>
<methodparam><type>string</type><parameter>id</parameter></methodparam>
</methodsynopsis>
<para>
Valida um ID de sessão fornecido. Um ID de sessão é válido se já existir uma sessão com esse ID.
Essa função é executada automaticamente quando uma sessão está prestes a ser iniciada, um ID de sessão é fornecido
e <link linkend="ini.session.use-strict-mode">session.use_strict_mode</link> é habilitado.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>id</parameter></term>
<listitem>
<para>
O ID da sessão.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Retorna &true; para ID válido, &false; caso contrário.
Observe que este valor é retornado internamente ao PHP para processamento.
</para>
</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
-->