Re: small problem about retrieving variable from SESSION‏

Paul Lesniewski <[email protected]> Mon, 20 Aug 2012 19:25:38 -0700
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <CAHog1154BH2d5NbmST8aDESzEuip1D6eu46z-xBjsXtofJnTcw@mail.gmail.com>
On Mon, Aug 20, 2012 at 5:52 PM, lichen970 <[email protected]> wrote:
>
> Thanks for relying me. And here's something I may need to clarify. I am not
> creating a new PHP session I think. The session IDs are the same. I just
> want to only maintain one IMAP connection within a sqmail session. I am not
> trying to store the sq session itself.

What you're trying to do is not possible in PHP.  All connections are
shut down when the request is finished processing.  It's the same
reason PHP doesn't support database connection pooling, etc.  This is
exactly why IMAP Proxy exists.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel