Saturday, March 24, 2012

Server Variable

Specifically, I am looking for a response.write variable for the version of dot.net running on a server.

But on a more general level I would like know a simply command to see all the available server variables on a server with dot.net.

Thanks !!Are you talking about the ServerVariables?
(request.ServerVariables)

There's a whole list of possible items there - - -

All you need to do is to turn on Tracing on your page, and you can see all of them at work.
Excellent --

Request.ServerVariables that is what I was looking for.

However, What does turn on tracing mean? Is that something I do like define the language?

Thanks --
To turn on tracing, go to your page's <@.page directive and add Trace="true", then run the page. You'll see what it does.

0 comments:

Post a Comment