[horde] Horde forgets session

Lukas Haase lukashaase at gmx.at
Thu Aug 8 18:54:35 UTC 2013


On 2013-08-06 5:45, Jan Schneider wrote:
> 
> 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?

Dear Michael and Jan,

Yes, I was silently thrown back to the login screen.

Interestingly it seems that it started to work at some point.

It runs for some days now so I hope it is safe to say that the problem
is solved (without having been fixed).

Thanks,
Luke






More information about the horde mailing list