Perplexing issue
Hey everyone,
Just wondering if someone might have some insight into what could be causing this issue...
I am trying to retrieve request.servervariables("HTTP_USER_AGENT") and store it in a string for later use & comparison in my asp.net 4.0 web application.
Most places seem to work, but GoogleBot keeps coming up with the user agent being just the string "Mozilla" - and this is not valid. It should be a lot longer than that, and the old ASP classic code hanging around is actually seeing the correct user agent, through use of the same servervariable ...
Why is .NET not seeing it? I've also just tried setting it to Request.UserAgent - same result... only for GoogleBot though.
Makes me really wonder...
|