-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathsession-unset.xml
69 lines (64 loc) · 1.86 KB
/
session-unset.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?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
-->