[#6620] Memcached and sessions
Summary Memcached and sessions
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Michael Slusarz <slusarz (at) horde (dot) org>
Requester jens (at) peino (dot) de
Created 04/17/2008 (143 days ago)
Due
Updated 04/21/2008 (139 days ago)
Assigned
Resolved 04/21/2008 (139 days ago)
Attachments
Milestone
Patch No

History
04/21/2008 Michael Slusarz Comment #2
State ⇒ Resolved
Assigned to Michael Slusarz
Reply to this comment
Fixed in HEAD.
04/17/2008 jens (at) peino (dot) de Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Memcached and sessions
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
In the sessions view i get above the menu:
Warning: SessionHandler::include(Horde/SessionHandler/1.php): failed 
to open stream: No such file or directory in 
/usr/share/php5/PEAR/Horde/SessionHandler.php on line 97 Warning: 
SessionHandler::include(): Failed opening 'Horde/SessionHandler/1.php' 
for inclusion 
(include_path='.:/usr/share/php:/usr/share/php/PEAR:/usr/share/php5:/usr/share/php5/PEAR:/usr/share/php5/SMARTY') in /usr/share/php5/PEAR/Horde/SessionHandler.php on line 
97

And below:
Notice: Undefined index: persistent in 
/usr/share/php5/PEAR/Horde/SessionHandler/memcache.php on line 287

For current session it says:
Listing sessions failed: Memcache session tracking not enabled.

My session settings in the conf:
$conf['sessionhandler']['params']['track'] = true;
$conf['sessionhandler']['type'] = 'memcache';
$conf['sessionhandler']['memcache'] = true;

My memcache settings in the conf:
$conf['memcache']['hostspec'] = array('localhost');
$conf['memcache']['port'] = array('11211');
$conf['memcache']['weight'] = array();
$conf['memcache']['persistent'] = true;
$conf['memcache']['compression'] = false;
$conf['memcache']['large_items'] = true;
$conf['memcache']['enabled'] = true;