mirror of
https://github.com/php/doc-es.git
synced 2026-03-26 16:32:13 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@318310 c90b9560-bf6c-de11-be94-00142212c4b1
70 lines
1.9 KiB
XML
70 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: seros Status: ready -->
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.session-unset">
|
|
<refnamediv>
|
|
<refname>session_unset</refname>
|
|
<refpurpose>Libera todas las variables de sesión</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>void</type><methodname>session_unset</methodname>
|
|
<void/>
|
|
</methodsynopsis>
|
|
<para>
|
|
La función <function>session_unset</function> libera todas las variables de sesión
|
|
actualmente registradas.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.void;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="notes">
|
|
&reftitle.notes;
|
|
<note>
|
|
<para>
|
|
Si se usa <varname>$_SESSION</varname> (o <varname>$HTTP_SESSION_VARS</varname>
|
|
para PHP 4.0.6 o anterior), utilice <function>unset</function> para
|
|
dejar de registrar una variable de sesión, esto es,
|
|
<literal>unset ($_SESSION['nombre_variable']);</literal>.
|
|
</para>
|
|
</note>
|
|
<caution>
|
|
<para>
|
|
NO destruya completamente <varname>$_SESSION</varname> con
|
|
<literal>unset($_SESSION)</literal> ya que esto deshabilitará el registro
|
|
de variables de sesión a través del array superglobal <varname>$_SESSION</varname>.
|
|
</para>
|
|
</caution>
|
|
</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
|
|
-->
|