From 0ee9a7d35fca740a69b85f517830ecff1a3f7f3d Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev Date: Fri, 23 Apr 2010 22:41:25 +0000 Subject: [PATCH] Updated the information about wincache session cache. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298399 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/wincache/setup.xml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/reference/wincache/setup.xml b/reference/wincache/setup.xml index 5240286fd0..a32a53f56f 100644 --- a/reference/wincache/setup.xml +++ b/reference/wincache/setup.xml @@ -188,28 +188,26 @@ $user_allowed = array('DOMAIN\user1', 'DOMAIN\user2', 'DOMAIN\user3');
WinCache Session Handler - 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. To configure PHP to use WinCache session handler set the php.ini setting - session.save_handler to wincache. + session.save_handler to wincache. + By default the Windows temporary file location is used for storing the + session data. To change the location of the session file use + session.save_path directive. Enabling WinCache session handler - - - 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. - -