mirror of
https://github.com/php/doc-ja.git
synced 2026-03-28 09:02:14 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@297032 c90b9560-bf6c-de11-be94-00142212c4b1
91 lines
2.6 KiB
XML
91 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: hirokawa Status: ready -->
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.session-save-path">
|
|
<refnamediv>
|
|
<refname>session_save_path</refname>
|
|
<refpurpose>現在のセッションデータ保存パスを取得または設定する</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>session_save_path</methodname>
|
|
<methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>session_save_path</function> は、
|
|
現在のセッションデータ保存パスを返します。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>path</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
セッションデータのパス。これを指定すると、
|
|
データを保存するパスが変更されます。ただしそのためには
|
|
<function>session_start</function> がコールされる前に
|
|
<function>session_save_path</function> がコールされている必要があります。
|
|
</para>
|
|
<para>
|
|
<note>
|
|
<para>
|
|
いくつかのオペレーションシステムでは、多くの小さなファイルを効率的に
|
|
処理するファイルシステム上にパスを指定することが望ましいです。
|
|
例えば、Linux では ext2fs よりも reiserfs の方が性能面でより
|
|
優れています。
|
|
</para>
|
|
</note>
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
現在のデータ保存先ディレクトリのパスを返します。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member>
|
|
設定ディレクティブ <link linkend="ini.session.save-path">session.save_path</link>
|
|
</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
|
|
-->
|