Forum Discussion
Ryan_34424
Mar 27, 2019Altostratus
APM :: Detecting IE 11
Ok I suck, I know. But why is this wrong?
expr { [string tolower [mcget {session.user.agent}]] matches_regex {trident\/7.+rv\:11} }
It never matches... even though my UA is:
Mozilla/5.0 (W...
Ryan77777
Mar 27, 2019Altocumulus
I'm wondering if this is an issue with variable scope. Even something simple isn't working.
expr { [mcget {session.user.agent}] contains "rv:11" }
I'm using this in a macro, and that macro is used in a macro that is called from the main access policy post authentication.
If I go to the access policy reports and search for the session ID, I see the session variable assigned above, but it's like I can't call it or something...
... still digging.
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