Summary | Wrap long-running operations in session_write_close/session_start |
Queue | IMP |
Queue Version | Git master |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | Horde Developers (at) , chuck (at) horde (dot) org, slusarz (at) horde (dot) org |
Requester | chuck (at) horde (dot) org |
Created | 10/01/2008 (6121 days ago) |
Due | |
Updated | 09/30/2010 (5392 days ago) |
Assigned | |
Resolved | 09/30/2010 (5392 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
straight viewport listing and do a close/open when doing an initial
list of mailboxes.
Closing ticket - there may be other places this is useful, but that
needs to be determined on a case-by-case basis.
Ticket #7422: Improve session close/open in DIMP AJAX actionshttp://git.horde.org/diff.php/imp/lib/Ajax/Application.php?rt=horde-git&r1=cdaecae24590b313078afb896c4fac2d7da1871f&r2=22f33b1be19a3b3db62911f7b4ae4a93384ad135
Version ⇒ Git master
unwanted side-effects, etc.
Ticket #7422: Test out session close/reopen for potentially long operationshttp://git.horde.org/diff.php/imp/lib/Ajax/Application.php?rt=horde-git&r1=9ca3d532fced9968ec808a3ca7605c862ba28bbc&r2=9de9ed837ec6181bb1de011156f7c6cef44c58f5
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to
Assigned to Michael Slusarz
Queue ⇒ IMP
Summary ⇒ Wrap long-running operations in session_write_close/session_start
Type ⇒ Enhancement
State ⇒ Assigned
Assigned to Chuck Hagenbuch
DIMP's case, simply other ajax requests, we should close the session
(session_write_close) whenever possible before a long running
operation. We do this some places, but haven't done it in others
because of the need to update the session later. Turns out you can
re-open the session by calling session_start (we'll probably need
Horde::setupSessionHandler) again, as long as headers haven't been sent.
Especially with DIMP I think this would be useful to try. The thing I
noticed locking on earlier that brought it to mind was emptying a
large mailbox; DIMP generating a message list might be another. I'm
sure there are more.