Forum Discussion
APM access policy default logout URI override based on landing URI?
Hi Stanislas,
your suggestion was indeed the simplest way forward! I modified the logout page and added a value pointing to the session parameter %{session.server.landinguri}, after struggling a bit with the right syntax... :) So, to implement this, you go as follows:
Access Policy -> Customization:Advanced -> Customization settings -> Access Profiles -> "YOUR PROFILE" -> Logout ->logout.inc
around line 114 replace:
and you're done. I didn't test all cases and all exit branches yet, but for those tested, it worked fine. After hitting the logout button, clients gets the opportunity to start a new session, which will be automatically on the same starting URI as his previous session, and no longer the root (/)
Thanks!
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com