[horde] Horde portal not returning to login screen when session expires
Michael M Slusarz
slusarz at horde.org
Mon Jul 22 19:50:27 UTC 2013
Quoting Patrick Boutilier <boutilpj at ednet.ns.ca>:
> Horde 5.1.2 with IMP 6.1.3 using IMP authentication.
>
> When your session times out the portal does not redirect the user to
> the login page. When the portal refreshes and there is a Mailbox
> Summary block in the portal the block displays:
>
>
>
> /*-secure-{"msgs":[{"message":"\/services\/ajax.php\/horde\/login.php?url=%2Fservices%2Fajax.php%2Fhorde%2F&horde_logout_token=-_ixwNiJtWeLNjyixq6wtg1&logout_reason=6","type":"horde.ajaxtimeout"}],"response":false}*/
This is correct. Blocks can't automatically log a user out because
they are being updated on a "dumb" basis - all they do is update HTML
content by whatever is passed back.
To have this work correctly, someone will need to rewrite the block
updating code to instead handle the Horde-specific AJAX responses
(i.e. send requests using HordeCore.doAction()) - so that any session
timeouts will be properly handled.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list