> i open mailbox with imap_open
> when i move next page, mailbox close.
> and i must open mailbox again.
> i want connection contiue, even if i move next page

Don't think you can.

HTTP is inherently stateless...

Even if you could, when would the mailbox close?  You can't rely on your
web-surfers to always hit a close button.

There *might* be an imap_popen() that would reduce the overhead of
subsequent mailbox openings, because PHP and IMAP would agree in advance to
keep the connection around for awhile in case it needs to be re-used...  (I
say this only cuz I know there's a mysql_pconnect().  I have no clue how to
work IMAP)

But you still need to call imap_popen() on each page then, it will just work
faster.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to