Author |
|
alexbo Newbie
Joined: 22 November 2022 Location: Italy
Online Status: Offline Posts: 5
|
Posted: 02 December 2022 at 5:40am | IP Logged
|
|
|
Hi, my purpose is to embed webmail into a php based intranet website which use sessions.
Clicking a button to drive navigation on webmail user page and using "logging in programmatically" instructions I am able to push credentials and land on webmail main page.
My actual problem is how to exit from there and to go back to the caller page.
Is there a clue for this?
Thanks in advance.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6092
|
Posted: 02 December 2022 at 11:25am | IP Logged
|
|
|
You can achieve that by setting "CustomLogoutUrl" value in data/settings/modules/CoreWebclient.config.json configuration file. That way, once user logs out from WebMail interface, they will be redirected to URL you specify.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
alexbo Newbie
Joined: 22 November 2022 Location: Italy
Online Status: Offline Posts: 5
|
Posted: 04 December 2022 at 11:38pm | IP Logged
|
|
|
Perfect; is it possible to pass it by session, or by post or by get? In a such case it could be possible to have a variable return address, instead of having a fixed one.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6092
|
Posted: 04 December 2022 at 11:42pm | IP Logged
|
|
|
That's not supported out-of-box, but you can change that in the code - modules/CoreWebclient/Module.php file, line ~101:
Code:
'CustomLogoutUrl' => $this->getConfig('CustomLogoutUrl', ''), |
|
|
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|