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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jltallon at adv-solutions dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 13:00:01 2026 UTC