Author |
|
Rob68 Newbie
Joined: 19 February 2020 Location: Netherlands
Online Status: Offline Posts: 3
|
Posted: 19 February 2020 at 7:34am | IP Logged
|
|
|
I use webmail 8 in an Iframe on my own website.
Logging in programmatically goes right (thanks to the demo code).
But when I want to log out (using PHP), this doesn't work. That means when I log in to my website with another user, the last email account is still active.
I thought I could use the command: $isLoggedOut = \Aurora\System\Api::GetModuleDecorator('Core')->Logout();
But that doesn't seem to work. But the variable $isLoggedOut exits with 'true' so it looks like it works.
Has anyone an idea how to do this with PHP?
Thanks very much!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 February 2020 at 12:12am | IP Logged
|
|
|
You're correct about using Logout method, but in addition to that, you need to delete AuthToken cookie.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Rob68 Newbie
Joined: 19 February 2020 Location: Netherlands
Online Status: Offline Posts: 3
|
Posted: 26 February 2020 at 1:39am | IP Logged
|
|
|
Thank you very much, Igor.
I will try that.
kind regards,
Rob
|
Back to Top |
|
|