|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
what is Request.ServerVariablesHi,
I just came across the HttpRequest.ServerVaraibles collection which the documentation helpfully explains contains "a collection of server variables" What on earth is a server variable? where do these variables come from? what variables can I expect to be present? what do they mean? I can't find any documentation in MSDN at all. TIA Andy Andy,
I think this page from 4guysfromrolla.com will aid in your quest: http://www.4guysfromrolla.com/webtech/092298-3.shtml It provides a wonderful overview of the request.servervariables object and I think you will find some of its functionality quite nice, depending on the type of application you are writing. Aaron Thanks
It seems strange that the asp.net documentation only makes a passing reference to it. I notice that your link refers to "classic" asp (pre dotnet). Is the server variables thing provided mainly to ease porting of pre .net apps? Show quoteHide quote "Aaron Corcoran" <acorco***@lasers.state.la.us> wrote in message news:1118408170.593187.50530@g43g2000cwa.googlegroups.com... > Andy, > > I think this page from 4guysfromrolla.com will aid in your quest: > > http://www.4guysfromrolla.com/webtech/092298-3.shtml > > It provides a wonderful overview of the request.servervariables object > and I think you will find some of its functionality quite nice, > depending on the type of application you are writing. > > Aaron > re:
> I notice that your link refers to "classic" asp (pre dotnet). Is the server variables That's because the server variables are being provided by IIS,> thing provided mainly to ease porting of pre .net apps? which is the http server infrastructure which both ASP and ASP.NET extend. Both ASP and ASP.NET can access IIS's Server Variables. Many, though not all, are available through the HttpRequest class in System.Web ( the Request object ) if you wish to use native ASP.NET methods. See : http://www.csharpfriends.com/quickstart/aspplus/samples/classbrowser/vb/classbrowser.aspx?assembly=System.Web,%20Version=1.0.5000.0,%20Culture=neutral,%20PublicKeyToken=b03f5f7f11d50a3a&namespace=System.Web&class=HttpRequest Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... ====================== Show quoteHide quote "Andy Fish" <ajf***@blueyonder.co.uk> wrote in message news:eq1XECcbFHA.2896@TK2MSFTNGP10.phx.gbl... > Thanks > > It seems strange that the asp.net documentation only makes a passing reference to it. > > I notice that your link refers to "classic" asp (pre dotnet). Is the server variables > thing provided mainly to ease porting of pre .net apps? > > > > "Aaron Corcoran" <acorco***@lasers.state.la.us> wrote in message > news:1118408170.593187.50530@g43g2000cwa.googlegroups.com... >> Andy, >> >> I think this page from 4guysfromrolla.com will aid in your quest: >> >> http://www.4guysfromrolla.com/webtech/092298-3.shtml >> >> It provides a wonderful overview of the request.servervariables object >> and I think you will find some of its functionality quite nice, >> depending on the type of application you are writing. >> >> Aaron >> > > They are preset variables containing information about the server and the
request. Like version of the server software, name/type of the server (IIS) and so on. Show quoteHide quote "Andy Fish" <ajf***@blueyonder.co.uk> wrote in message news:%23A7o1rbbFHA.3184@TK2MSFTNGP15.phx.gbl... > Hi, > > I just came across the HttpRequest.ServerVaraibles collection which the > documentation helpfully explains contains "a collection of server > variables" > > What on earth is a server variable? where do these variables come from? > what variables can I expect to be present? what do they mean? I can't find > any documentation in MSDN at all. > > TIA > > Andy > >
Other interesting topics
Is there a way to detect user screen resolution in server side code?
ASP.NET stopped working Viewstate String InvalidCastException Microsoft Bug Transparent images Render multiple images Post-Daten aus HttpSendReuqest auslesen Textbox inside a repeater. how to access datarow in post back event. Getting user password from Active Directory Onmouseover Event, Cursor property not working with Netscape or Firefox |
|||||||||||||||||||||||