Forum Discussion
tsm_329805
Nimbostratus
Aug 29, 2017iRule to Check Internet Explorer browser..!
Dear ,
Could you please help in providing the condition to check the IE browser check.?
Earlier below syntax use to work, but not it stopped working..!
//
switch -glob [HTTP::header value "...
Kai_Wilke
MVP
Aug 29, 2017Hi TSM,
to identify Internet Explorer regardless of its version, you have to check for the pattern "MSIE " or "Trident/".
switch -glob -- [HTTP::header value "User-Agent"] {
"Mozilla/*MSIE *" - "Mozilla/*Trident/*" {
set is_internet_explorer true
}
default {
set is_internet_explorer false
}
}
Note: For further information which UA-String is used by which browser you may check up the following page [click me].
Cheers, Kai
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