php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #18100 IMAP connection caching
Submitted: 2002-07-01 20:25 UTC Modified: 2002-08-02 18:55 UTC
From: jltallon at adv-solutions dot net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.2.1 OS: Linux (2.4.18)
Private report: No CVE-ID: None
 [2002-07-01 20:25 UTC] jltallon at adv-solutions dot net
Appears when using TWIG...
imap_open DOES OPEN the connection that many times to the server. How about caching connections as it is already done for the DB functions( MySQL for example )

Extra info: Courier-IMAP on the server side. Same with UW.

Looks like a performance pig....

Thanks everybody.
PHP rocks!!!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-02 11:19 UTC] ivanov at e-witness dot ca
Good idea, will be very useful for every PHP webmail clients
 [2002-08-02 11:27 UTC] kalowsky@php.net
Have you tried imap_popen?  Or is this not exactly what you're looking for?
 [2002-08-02 18:55 UTC] sniper@php.net
There are no such imap servers which support this kind of persistant connections. Not PHP problem.

(you could always use SRM for this.. http://www.vl-srm.net/)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 03 06:01:31 2024 UTC