Forum Discussion
Angus_2141
Jul 16, 2013Historic F5 Account
redirect based on monitor status
I would like to have a process where I am able to redirect a user to site down for maintenance page based on status of monitor. My workflow would be using a monitor to check for the content of a fil...
Angus_2141
Aug 03, 2013Historic F5 Account
Yes, I was thinking about checking for a persistence record but you are correct in most cases I have moved away from using the source IP for the persistance method in favor of using an F5 generated cookie. I suppose I could have a rule that checks for a persistence record and one that checks for a cookie to determine even the client should be redirected to a "maintenance" page.
But, do you have a better idea for how I can determine if this is a new client request or one from an existing session? Should I be looking at trying to use this function? https://devcentral.f5.com/wiki/iRules.session.ashx
It looks like this irule includes the logic to check for an existing session https://devcentral.f5.com/wiki/iRules.HTTPSessionLimit.ashx
Do you think it makes sense to use something like if {[HTTP::cookie exists "ClientID"]} as shown in the previous irule example?
Thanks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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