Forum Discussion
Mike_Pones_6391
Nimbostratus
Sep 22, 2005User Agent?
I have a customer that is asking if I can make a load balance decition based on the URL and the user agent. I am not familiar with the user agent, but it sounds like it must add something to the requ...
Martin_Machacek
Sep 22, 2005Historic F5 Account
Actually Opera allows the user to choose what browser type it reports. It offers Opera, Mozilla 5.0 and MSIE 6.0 :-) In all cases, the User-Agent string contains Opera (either at the begining or at the end). So, you should check for Opera before Mozilla and MSIE because the User-Agent string may contain both of them (along with Opera) ... or use a regular expression to narrow down the match (but it is slower than simple string matches).
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