1
0
mirror of https://github.com/php/doc-es.git synced 2026-03-24 07:22:16 +01:00
Files
archived-doc-es/reference/session/functions/session-write-close.xml
Marcos Porto Mariño 5ac01aa46a Various updates, up to EN 69fe083 (#317)
* Fix typo add ref warn.deprecated.feature-8-1-0

* Remove <para> in invalid places

* Fix language snippets
2025-11-16 02:28:20 +01:00

102 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 35b95a56ccc03b66af7117fc815ac7881e2e0ad3 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: no Maintainer: Marqitos -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.session-write-close">
<refnamediv>
<refname>session_write_close</refname>
<refpurpose>Escribe los datos de sesión y cierra la sesión</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>session_write_close</methodname>
<void/>
</methodsynopsis>
<para>
Finaliza la sesión actual, después de almacenar los datos.
</para>
<para>
Los datos de sesión se almacenan generalmente al final
del script, automáticamente, sin necesidad de llamar explícitamente
a <function>session_write_close</function>. Pero durante toda la ejecución
del script, los datos de sesión están bloqueados en escritura,
y un solo script puede operar sobre la sesión a la vez. Cuando
se utilizan frames con sesiones, esto se nota al ver cómo las frames
se actualizan una tras otra. Puede reducirse el tiempo de cálculo de estas páginas
cerrando la sesión tan pronto como sea posible, lo que libera los datos
para otros scripts.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>7.2.0</entry>
<entry>
El tipo de retorno de esta función es ahora &boolean;.
Anteriormente, era <link linkend="language.types.declarations.void">void</link>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member>
<function>session_register_shutdown</function>
</member>
</simplelist>
</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
-->