Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server variables 1

Status
Not open for further replies.

crystalized

Programmer
Jul 10, 2000
390
CA
Hello,

I am wondering if anyone knows what server variables are available via asp. In particular I am wondering about server performance information. If anyone knows of a good resource for information I would appreciate it.

Thanks in advance Crystal
crystalized_s@yahoo.com

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
from learnasp.com:

<html><head>
<TITLE>serverall.asp</TITLE></head>
<body bgcolor=&quot;#FFFFFF&quot;>
<%
Response.Write(&quot;<P><B>Server Variables</b><br>&quot;)
BlankVars=&quot;<P><B>Blank Server Variables</b><br>&quot; & vbcrlf
quote=chr(34)
For Each Key in Request.ServerVariables
If instr(Key,&quot;_ALL&quot;)+instr(key,&quot;ALL_&quot;)=0 then
tempvalue=trim(request.servervariables(Key))
If len(tempvalue)=0 then
BlankVars=BlankVars & Key & &quot;, &quot;
Else
response.write &quot;request.servervariables(&quot; & quote
response.write Key & quote & &quot;) &quot;
response.write &quot; =<br><B>&quot; & tempvalue & &quot;</b><p>&quot; & vbcrlf
End If
end if
Next
response.write mid(BlankVars,1,len(BlankVars)-2)
%>
</body></html>
 
Thank you very much, that is what I was looking for. Unfortunately it doesn't provide the info I need but at least now I know that.
Crystal
crystalized_s@yahoo.com

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top