[horde] Horde forgets session

Jan Schneider jan at horde.org
Tue Aug 6 12:45:38 UTC 2013


Zitat von Lukas Haase <lukashaase at gmx.at>:

> On 2013-08-01 10:49, Michael M Slusarz wrote:
>> Quoting Lukas Haase <lukashaase at gmx.at>:
>>
>>> Hello,
>>>
>>> I installed horde5 Webmail Edition from pear. I have the big problem
>>> that horde always looses the session, sometimes very quickly (after
>>> clicking on the first link) sometimes 2 minutes later. But the session
>>> should last "forever":
>>>
>>> $conf['session']['name'] = 'Horde';
>>> $conf['session']['use_only_cookies'] = true;
>>> $conf['session']['timeout'] = 0;
>>> $conf['session']['cache_limiter'] = 'nocache';
>>> $conf['session']['max_time'] = 72000;
>>> $conf['auth']['checkip'] = true;
>>> $conf['auth']['checkbrowser'] = true;
>>
>> Correction: this session will not last forever - it will automatically
>> timeout after 72000 seconds (which is correct; sessions should never be
>> non-expiring).
>
> Yes, that's true but for my tests "infinite" ;-)
>
>> But you haven't provided us with your session backend storage
>> information.  That's the important element here.
>
> Oh sorry. Do you mean the session handler with that?
>
> $conf['sessionhandler']['type'] = 'Builtin';
> $conf['sessionhandler']['hashtable'] = false;
>
> I can also post whole conf.php if this helps.
> I also upgraded the database from horde3 (from Debian squeeze - horde is
> not included in wheezy, therefor I upgraded). Maybe there could be an issue?

Unlikely. This looks pretty much like a default setup which works  
anywhere else.

Do you get "session expired" messages when being logged out? Or are  
you silently thrown back to the login screen?
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list