Quoting puzzle@glink.net.hk: > What's the problem? We check the apache referal log and found > that for the second login to IMP through remote_login.php3, > it immediately call login.php3?reason=logout. Sounds like the session isn't being set up correctly the second time. -chuck -- Charles Hagenbuch, <chuck@horde.org> "If you can't stand the heat, get out of the chicken!" - Baby Blues