Forum Discussion
Carl_Stone_1343
Nimbostratus
Oct 31, 2008i-Rule to Authorize users baes on presence of cookie
Hi,
Im deploying ADFS, and have many different iRules for different purposes.
However, I have a new challenge, which I cannot seem to fix...
I have two different urls, with their own VServers, one for customers, and the other for employees. I need a way to distinguish between them, so I can redirect if they follow a link, for example, leading them to the wrong url.
I initially did this with Certs, however Internet Explorer prompts the user to select a cert, with the prompt box empty, each time they hit the iRule. this is not an iRule problem, but the way IE works.
Therefore I have thought about installing a cookie on each employees PC, and want the irule to Query the client for the Cookie, and redirect accordingly.
With the HTTP::cookie exists command, I find that I can only query the cookies offered by the client, does anybody know the command, or sample iRule, to get the BIG IP to actually request the cookie from the client...and/or if its possible...?
Thanks, Carl
- James_Quinby_46Historic F5 AccountIt seems as though you could accomplish what you're doing by setting a single cookie for employees. Check for this cookie to allow/validate use of the employee only URL and bounce everyone else over to the other site. The fourth post down in this thread:
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