server variables

  • Thread starter Thread starter Philip Townsend
  • Start date Start date
P

Philip Townsend

When using the ServerVariables collection, is there any way to detect
more than just browser version? I would like to be able to detect
certain plugins from the server side. Any suggestions? Thanks!
 
Here's everything you can access in the ServerVariables collection:

http://www.w3schools.com/asp/coll_servervariables.asp

What you probably want is the Browser object.
The Browser property in the Request object is of class
HttpBrowserCapabilities,
which exists in the System.Web namespace. This class, when instantiated on
an ASP.NET page,
represents the properties of the client browser you are using to view that
page.
It's as if you are inspecting the client browser at the server.
The Request object contains this object in its "Browser" property.
The HttpBrowserCapabilities class is the equivalent of
MSWC.BrowserCapabilities class that exists in ASP.

--Peter
 
Back
Top