|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Server Variable values missing...
I know this is most likely a configuration setting somewhere within IIS or in Server 2003, but I migrated an ASP page over that would capture a specific set of Server variables. Page works fine in IIS 5.0. I am not getting any error messages, but I am not getting my values either. If anyone has experienced this issue, can you give me a little help?
|
|
#2
|
||||
|
||||
|
Have you checked Windows 2003 Server Variables to make sure they are all there and that they are not called something else.
You can use the following code to get all the Server Variables. Code:
<html> <body> <TABLE align="center" width="60%" border="1"> <TR> <TD><B>Server Variable</B></TD> <TD><B>Value</B></TD> </TR> <% For Each name In Request.ServerVariables %> <TR> <TD><b> <%= name %> </TD> <TD> <%= Request.ServerVariables(name) %> </TD> </TR> <% Next %> </TABLE> </body> </html> Save this as server.asp and run it, it should give you all the server variables whether it's IIS 5.0 or 6.0 |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Server Variable values missing... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|