473,379 Members | 1,386 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,379 software developers and data experts.

Request Browser properties.

How can I return all the properties in the Request.Browser object using a
for each...next loop?
Nov 21 '05 #1
5 2627
I am not sure what you are looking for, but I hope that it will be:
Dim I As Integer
Dim iName, iValue As String
'For I = 0 To Request.Form.Count - 1
For I = 0 To Request.ServerVariables.Count - 1
iName = Request.ServerVariables.AllKeys(I)
iValue = Request.ServerVariables.GetValues(I)(0)
Response.Write("<BR>" & iName & " : " & iValue)
Next
Best regards,

Jorge Serrano PĂ©rez
MVP VB.NET
"whoopding" wrote:
How can I return all the properties in the Request.Browser object using a
for each...next loop?

Nov 21 '05 #2
Whoopding,

You mean this one?

http://msdn.microsoft.com/library/de...owserTopic.asp

I hope this helps,

Cor
Nov 21 '05 #3
"whoopding" <vb@whoopding.com> schrieb:
How can I return all the properties in the Request.Browser object using a
for each...next loop?


Are you referring to 'Request.UserAgent' ('HttpWebRequest.UserAgent')?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4
Sorry, I meant the Request object Browser property.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Ou**************@TK2MSFTNGP14.phx.gbl...
"whoopding" <vb@whoopding.com> schrieb:
How can I return all the properties in the Request.Browser object using a
for each...next loop?


Are you referring to 'Request.UserAgent' ('HttpWebRequest.UserAgent')?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5
"WhoopDing" <vb@whoopding.com> schrieb:
Sorry, I meant the Request object Browser property.


The documentation on 'HttpRequest.Browser' contains a sample that shows the
properties' values:

..NET Framework Class Library -- 'HttpRequest.Browser' Property
<URL:http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwebhttprequestclassbrowsertopic.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6

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

Similar topics

12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
2
by: Roger Twomey | last post by:
I have an application that checks for browser, version and active X enabled. It uses the result for a simple if then. The issue I have is that Request.Browser.MajorVersion is returning the...
2
by: Roshawn Dawson | last post by:
Hi, I seem to be having trouble using the Request.Form property. Before explaining what I'm trying to do, have a look at my html: <form id="Cart" method="post" action="ShoppingCart.aspx">...
25
by: Matt Kruse | last post by:
According to HTTP/1.1 specs, a client should only have two connections open to the host at a time (which can be changed by browser users, of course). When using xmlHttpRequest connections, is...
9
by: balakrishnan.dinesh | last post by:
hi friends, Exactly what i want to know is, In my product we are using xmlhttp request to retrive some data from the server, And Im using IE browser, its working fine in IE. Now i want to work...
7
by: ab3331 | last post by:
I need a tool that acts like a browser, but instead of actually rendering a page, it explains in English exactly what rules it's interpreting. This would make it simple to see which rules are...
6
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm running VS 2003/ASP.NET 1.1.4322.0 on XP SP2 All of a sudden I started to getting... "Error while trying to run project: Unable to start debugging on the web server. Server side-error...
0
by: germ | last post by:
we are running into a situation where accessing Request.Browser.MajorVersion causes a System.ArgumentNullException. when this happens the HTTP_USER_AGENT value is "Mozilla/4.x (Win95)" I am...
2
by: =?Utf-8?B?U2Fs?= | last post by:
<I MOVED THIS POST TO ITS OWN THREAD. ORIGINAL POST FOUND HERE:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.