Re: [phplib] Classes Persistence From: Stanislav Malyshev (stas <email protected>)
Date: 08/05/00

KK>> doing $sess->register($imapobj)?

$sess->register("imapobj")
Variables are registered by name, not by value.

KK>> Also, I want to know if this will make my Imap stream connection
KK>> persistent too ie., in subsequent pages, I must not have to

No. There are, IIRC, persistent IMAP connections, but they bear no
relation to sessions.

KK>> relogin the IMAP server. Is this possible at all; are there some
KK>> other things to consider?

Connections are per-server process, i.e. you are not guaranteed that next
request will have access to persistent connection, though with num,ber of
requests you have good chance. PHP has no resource pooling (yet).

-- 
Stanislav Malyshev   stas <email protected>          
+972-3-6139665 ext.106

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>