Server Variables

This will list all server variables in a page.

CodeFunctionName
What is this?

Public

Tested

Original Work
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html >
<head >
<title >Untitled </title >
</head >
<body >
<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0" CELLPADDING="0" >
<%
Dim strSV, intRowColor
For Each strSV In Request.ServerVariables
if intRowColor = 0 Then
Response.Write " <TR bgcolor=""#ddddfc"" >"
intRowColor = 1
Else
Response.Write " <TR bgcolor=""#ffffff"" >"
intRowColor = 0
End if
Response.Write " <TD > " & strSV & "=" & Request.ServerVariables(strSV) & " </TD > </TR >"
Next
% >
</TABLE >
</body >
</html >

Views 4,497

Downloads 1,380

CodeID
DB ID

JeffSmith
26
Revisions

v1.0

Sunday
April
15
2018