Forum Discussion
mikegray_198028
Sep 25, 2015Cirrus
irule
i am looking for an irule to provide the ability to display a dialog box when a user access to legacy application hosted on LTM vip ? The dialog box would tell the user it’s to be migrated at the end of this year, please start using new version, etc….
Hi Mike!
Glad to help!
Is there any specific reason for why you want to remove it? If you remove the cookie part you won't be able to verify if the user has seen the warning or not.
/Patrik
Try something like this?
when HTTP_REQUEST { if { ![HTTP::cookie exists "warning"]} { HTTP::respond 200 content { Test } "Set-Cookie" "warning=1" } }
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects