Author |
|
RichardB Newbie
Joined: 18 July 2012
Online Status: Offline Posts: 5
|
Posted: 26 July 2012 at 11:37am | IP Logged
|
|
|
I've ran into a problem with Integration.UserLoginByEmail(). If the user doesn't manually log out of an existing email account, the UserLoginByEmail() method will no programmatically log the user into a new email account. Instead, the login is directed back to the "un-logged out" email account.
For example, let's say that UserLoginByEmail() is used to log the user into: support@domain.com. If the UserLoginByEmail() is used again to log the user into a different email account such as: sales@domain.com, the WebMail code redirects the user back to: support@domain.com. (If the user didn't manually click the logout button)
Where is an API for programmatically logging the user out?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 July 2012 at 6:44am | IP Logged
|
|
|
Did you try destroying the session? Should do the trick, I think.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
RichardB Newbie
Joined: 18 July 2012
Online Status: Offline Posts: 5
|
Posted: 27 July 2012 at 9:25am | IP Logged
|
|
|
That suggestion works. I was planning to do that as a fallback option, but it seemed to be a bit excessive.
Thanks for the reply
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 30 July 2012 at 4:38am | IP Logged
|
|
|
I spoke to the developers today, and they agreed it's a good idea to have such method in WebMail API. There's a good chance it will be added in the near future.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|