Summary | No redirect in login screen when session expires |
Queue | Horde Groupware Webmail Edition |
Queue Version | 5.2.22 |
Type | Bug |
State | Unconfirmed |
Priority | 3. High |
Owners | |
Requester | xakritas (at) it (dot) auth (dot) gr |
Created | 09/20/2024 (236 days ago) |
Due | |
Updated | 09/20/2024 (236 days ago) |
Assigned | |
Resolved | |
Milestone | 5.2.23 |
Patch | No |
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ No redirect in login screen when session expires
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒ 5.2.23
Patch ⇒ No
I am experiencing a problem with horde webmail, the infrastructure has
1 haproxy -> 3 servers and 3 redis server . The haproxy has sticky
sessions enabled.
So when a user hibernate his PC without closing the browser or log
out. It throws a message that says:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"
/*secure{"msgs":[
{"message":"\/services\/ajax.php\/horde\/login.php?url=%2Fservices%2Fajax.php%2Fhorde%2F&horde_logout_token=ZT33NJr11Dsp7prduwqoX5E&logout_reason=6","type":"horde.ajaxtimeout"}
],"response":false}*/
"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Doing some search i found the same bug :
https://horde.horde.narkive.com/Wkx4WLtA/portal-not-returning-to-login-screen-when-session-expires
My horde version 5.2.23
conf file:
-------------------------------------------------------------------------------------------------------------------------
$conf['urls']['token_lifetime'] = 30;
$conf['urls']['hmac_lifetime'] = 30;
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['timeout'] = 0;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['max_time'] = 86400;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME']
-------------------------------------------------------------------------------------------------------------------------
Thank you