[imp] does IMP have to login into IMAP for every page?

Karolis Dautartas list at public.lt
Sun Jan 30 04:31:33 PST 2005


JS> Zitat von Karolis Dautartas <list at public.lt>:

>> hi IMP users,
>>
>> I noticed that IMP3 does a login to IMAP server every time you click
>> on some webmail page. I was wondering why it does it that way. Why not
>> store the required info in the session instead of logging in so many
>> times?
>>
>> It is pretty inconvenient too. If I change password from my webmail,
>> I am being logged out and have to re-login again.
>>
>> Am I missing something?

JS> Yes, the fact that HTTP is a stateless protocol and that PHP has a
JS> share-nothing architecture.

Isn't that what sessions are for? :) You can just log in once, and
then create a session (which is done anyway). The session would be a
guarantee that the user the user is authenticated. No?

Karolis






More information about the imp mailing list