473,378 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

server variables

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!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
2 7146
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
"Philip Townsend" <pt*******@v1tech.com> wrote in message
news:u%******************@TK2MSFTNGP11.phx.gbl...
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!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #2
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
"Philip Townsend" <pt*******@v1tech.com> wrote in message
news:u%******************@TK2MSFTNGP11.phx.gbl...
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!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Grahammer | last post by:
Hi! I have a piece of ASP code that I want to run differently if it is on my development server. Basically, if it's on my server I just want it to do a few response.writes... If it's on...
13
by: Jeager | last post by:
Why is it, Microsoft manage to write operating systems and office applications with every bell and whistle facility known to man. Yet, even after years and years of development they still cannot...
5
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of...
4
by: Phil Grimpo | last post by:
I had previously explained this problem in a different thread, but now that I have an IISState log, I figured I'd re-start the thred. My situation and the log are following... I have a very odd...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
5
by: Abhilash.k.m | last post by:
This is regarding the session management using Out of proc session management(SQL SERVER). Among the samples below which one is better to set the session? 1. There are 20 session...
4
by: Bob H | last post by:
Hi, I'm aware of the different ways to pass variables between ASP.Net pages. For pages that need to pass a variable, we're using the server.transfer method. For others, we're using...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
5
by: wolfing1 | last post by:
I'm working on a shopping cart page. In page A (checkout) the user enters their credit card information. On postback, if everything is correct, it sends the user to page B (confirmation). My...
18
by: Thomas Lunsford | last post by:
I have inherited a set of asp pages that I now need to augment. In order to minimize changes to production code, I would like to make a "call" to an asp page from a new asp page. Existing code is...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.