[Tickets #13108] Re: keep auto saved message in compose window although session is expired

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Apr 16 21:16:02 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13108
------------------------------------------------------------------------------
  Ticket             | 13108
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | keep auto saved message in compose window although
                     | session is expired
  Queue              | IMP
  Version            | 6.1.7
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2014-04-16 15:16) wrote:

> Ok... the auto saved message in draft got deleted in during the  
> logout session. So I searched for a task like this and found  
> something in imp/lib/Application.php round about line 163.:
>
>    public function logout()
>     {
>         /* Clean up dangling IMP_Compose objects. */
>         foreach (array_keys($GLOBALS['session']->get('imp',  
> 'compose_cache', Horde_Session::TYPE_ARRAY)) as $key) {
>              
> $GLOBALS['injector']->getInstance('IMP_Factory_Compose')->create($key)->destroy('cancel');
>         }

This is irrelevant.  If the session is expired, it won't contain any  
data, let alone the 'compose_cache' entry, so this code doesn't do  
anything.  (And I'm not even sure if this is run on a session timeout  
anyway.)





More information about the bugs mailing list