I am trying to write a webmail interface, where an user can suply servername, username and password to gain access to his pop3 mailbox.
When the user is logged in, he should see the inbox, and be able to click on a messages to read it.
The problem is, that when you click on a messages you want to read, a new page must be loaded, where the messages is shown, but when this happens, the imap stream from the imap_open function is no longer valid. I've tried to pass it with the GET method, but then it gets corrupted on the new pages.
Can I solve this problem, whitout having to pass the servername, username and password everytime a new pages is loaded, and without using imap_open on every pages?