Forum Discussion
irule to check if iPad is used when making connection
Hello,
We have following checks done:
when HTTP_REQUEST { check for browser-type switch -glob [HTTP::header value "User-Agent"] { "MSIE 6" - "MSIE 7" - "MSIE 8" { do stuff }
Now we should have to add another check to verify if an iPAD is used (and do some actions accordingly) ? Any idea how this can be checked ?
Thanks in advance, Frederik
1 Reply
- Kevin_Stewart
Employee
The strings "ipad", "iphone", and "android" should be in the default user agent string for each of these devices, so you should be able to extend your current code to look for these new strings.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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