Forum Discussion
BigBunk390_1180
Nimbostratus
May 20, 2014iRule to redirect if value does not exist in cookie
Hello, I am trying to create an irule that check the users cookie for a value and if the value does not exist it should redirect the user to a different url.
Something similar to this:
when...
BigBunk390_1180
Nimbostratus
May 20, 2014I am looking for a value that should be present in a cookie we create upon login.
On a Citrix Netscaler we have it configured like this: HTTP.REQ.COOKIE.CONTAINS("SMSESSION")
so if the users cookie contains smsession the user can continue, but if the value does not exists it will redirect the user to the url.
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