svn: /phpdoc/en/trunk/reference/wincache/ setup.xml
| From: | Ruslan Yakushev | Date: | Fri, 23 Apr 2010 22:41:25 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/wincache/ setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6429@lists.php.net to get a copy of this message | ||
ruslany Fri, 23 Apr 2010 22:41:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298399
Log:
Updated the information about wincache session cache.
Changed paths:
U phpdoc/en/trunk/reference/wincache/setup.xml
Modified: phpdoc/en/trunk/reference/wincache/setup.xml
===================================================================
--- phpdoc/en/trunk/reference/wincache/setup.xml 2010-04-23 22:32:36 UTC (rev 298398)
+++ phpdoc/en/trunk/reference/wincache/setup.xml 2010-04-23 22:41:25 UTC (rev 298399)
@@ -188,28 +188,26 @@
<section xml:id="wincache.sessionhandler">
<title>WinCache Session Handler</title>
<para>
- The WinCache session handler (available since WinCache 1.1.0) can be used to configure PHP to
store the session data in shared memory user cache.
+ The WinCache session handler (available since WinCache 1.1.0) can be used to configure PHP to
store the session data in shared memory session cache.
Using shared memory instead of the default file session storage helps improve performance of PHP
applications
- that store large amount of data in session objects.
+ that store large amount of data in session objects. Wincache session cache uses file-backed
shared memory, which ensures
+ that the session data is not lost during recycling of IIS application pools.
</para>
<para>
To configure PHP to use WinCache session handler set the
<filename>php.ini</filename> setting
- <link linkend="ini.session.save-handler">session.save_handler</link> to
<emphasis>wincache</emphasis>.
+ <link linkend="ini.session.save-handler">session.save_handler</link> to
<emphasis>wincache</emphasis>.
+ By default the Windows temporary file location is used for storing the
+ session data. To change the location of the session file use
+ <link linkend="ini.session.save-path">session.save_path</link> directive.
<example>
<title>Enabling WinCache session handler</title>
<programlisting role="php">
<![CDATA[
session.save_handler = wincache
+session.save_path = C:\inetpub\temp\session\
]]>
</programlisting>
</example>
- <note>
- <simpara>
- In beta release of WinCache Extension 1.1, the user cache is kept in memory and is not backed
by a
- file system storage. This means that the session data stored in the shared memory will be lost
when
- IIS application pool is recycled.
- </simpara>
- </note>
</para>
</section>
<section xml:id="wincache.resources">