2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:54:10 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.session-write-close">
|
2007-06-15 00:16:44 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>session_write_close</refname>
|
|
|
|
<refpurpose>Write session data and end session</refpurpose>
|
|
|
|
</refnamediv>
|
2007-06-15 00:16:49 +00:00
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-06-15 00:16:44 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>void</type><methodname>session_write_close</methodname>
|
|
|
|
<void/>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
End the current session and store session data.
|
|
|
|
</para>
|
|
|
|
<para>
|
2007-06-15 00:16:49 +00:00
|
|
|
Session data is usually stored after your script terminated without the
|
|
|
|
need to call <function>session_write_close</function>, but as session data
|
|
|
|
is locked to prevent concurrent writes only one script may operate on a
|
|
|
|
session at any time. When using framesets together with sessions you will
|
|
|
|
experience the frames loading one by one due to this locking. You can
|
|
|
|
reduce the time needed to load all the frames by ending the session as
|
|
|
|
soon as all changes to session variables are done.
|
2007-06-15 00:16:44 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-06-15 00:16:49 +00:00
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2007-06-24 02:18:15 +00:00
|
|
|
&return.void;
|
2007-06-15 00:16:49 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2007-06-15 00:16:44 +00:00
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- 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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-04-15 00:12:54 +00:00
|
|
|
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
|
|
|
|
-->
|