Forum Discussion
Display notices on APM logon Page dynamically
I have reviewed the article posted at https://devcentral.f5.com/articles/big-ip-apmcustomized-logon-page
During our system maintenance periods, I would like to display some static text upon the logon page to our users. Sort of a warning that if they proceeded with their logon the site will not be fully operational. I don't really want to store this text as part of the session variables since it will be identical for all users and it is truly static.
Is there way to insert some HTML dynamically based on the contents of an iRule or iFile? I don't want to have to change the access policy just to throw up a notice or message to our users.
Thanks.
1 Reply
- Michael_Jenkins
Cirrostratus
One method you could use would include ACCESS_POLICY_AGENT_EVENT event. You could create a macro (Link 1, Link2) within the VPE, that contains a iRule event, and a Message box (APM page with a message) if a certain variable is set. Then the VPE can continue as normal, and all you'll need to do to enable the page is set the variable in the iRule.
What I'm not entirely sure of since I've never tested is whether you'll need to use a session variable to enable the page, or if a GLOBAL variable will work.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
