Forum Discussion
jquinones82_469
Oct 20, 2010Nimbostratus
how do you check for a null http referer
I want to check for a blank http referer for an IRULE
([HTTP::header "Referer"] equals $null)
is there some type of variable or way to check for this?
Would I have to use the length function for the http::referrer?
- jquinones82_469NimbostratusAS ALWAYS THANKS IN ADVANCE
- hoolioCirrostratusI think [HTTP::header $header_name] will return a null string even if the header doesn't exist, so you could combine that with a check to see if the header exists:
- jquinones82_469NimbostratusThanks Aaron, I will give this a shot and let you know how it goes
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