sharing an IMAP resource between scripts

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I open an IMAP connection using IMAP_OPEN and get a message in  
script 1.

I want to delete the message in script 2 based on the users  
disposition selected in script 1 and passes to script 2 as a POST  

I figured (*hoped*) that I could pass the resource in a session  
variable - nope, comes up 0 in the 2nd script.

I tried to IMAP_close in the first script and then open it again  
in the 2nd script - nope, I am informed that the mbox is already  
open and locked.


any suggestions ?


Site Timeline