Forum Discussion
Scott_87636
Nimbostratus
Jun 14, 2013Browser Detection
Does anyone have samples of a rule to determine the Browser and version the client is using? The theory is that for a few of our applications they can only run on a certain browser(s) and its level(s). I would like to determin the browser and then decide if we will allow the F5 continue to route to the login screen or post a popup to say you are not on a supported browser etc...
1 Reply
- Kevin_Stewart
Employee
Perhaps something like this to start with:when HTTP_REQUEST { if { [class match [string tolower [HTTP::header User-Agent]] contains user_agent_datagroup] } { client user agent is in the list .... } }
Then you'd create a simple string-based data group with (lowercased) User-Agent patterns that you wanted to accept.
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