c# - Request.Browser.Browser and ask.com toolbar -


we're having strange issue our site , ask.com toolbar. somehow, if install ask.com toolbar on client in our network, it's overriding request.browser.browser , request.browser.majorversion on other clients not have ask.com toolbar installed. however, user agent string correct on other clients have toolbar installed. problem restricting access our site based on request.browser.browser , request.browser.majorversion , if ask.com toolbar installed somewhere it's screwing logic we're using restrict access.

update: apparently, after short period of time, problem goes away , request.browser.browser , request.browser.majorversion reported correctly though no changes made.

so guess have 2 questions: 1) how can installing third-party toolbar on 1 client have effect on asp.net request object? 2) asp.net request object info (because doesn't appear parsing user agent string it)?

  1. third party toolbar's ask on writes user agent string of browser.
  2. user agent info passed server every time request made. asp.net request.servervariables["useragent"] have value information , asp.net uses information against browser caps identify browser.

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -