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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top