Give this a try.  Might be more than you need, but I'm sure it won't hurt :)

<[EMAIL PROTECTED]"VBScript"%>
<html><body>test
<%
On Error Resume Next

Response.Write "All Variables : " & Now() & "<HR>" 

dim Header, Footer

header = "<table border=""1"" align=""center"" width=""400"">"
footer = "</table>"


Response.Write("cookies" & header)
for each item in Request.Cookies 
        Response.Write("<tr><td> " & item & "</td><td> " & Request.Cookies(item) & 
"</td>")
next


Response.Write(footer & "server vars" & header)
for each item in request.servervariables
        Response.Write("<tr><td> " & item & "</td><td> -- " & 
Request.ServerVariables(item) & "</td></tr>")
next


Response.write(footer & "session contents" & header)
for each item in session.contents
        Response.Write("<tr><td> " & item & "</td><td> " & session(item) & 
"</td></tr>")
next

Response.write(footer & "application contents" & header)
for each item in application.contents
        Response.Write("<tr><td> " & item & "</td></tr>")
next
%>

<table border="0">
<tr><td><b>Script engine : </td>
<td><%= scriptengine() %></td>
<td><%= scriptenginemajorversion() %>:</td>
<td><%=scriptengineminorversion() %></td>
<td><%= scriptenginebuildversion() %></td></tr></table>
</body></html>


> -----Original Message-----
> From: Lofback, Chris [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 17, 2003 9:35 AM
> To: CF-Talk
> Subject: SOT: ASP equivalent to CF server variables?
> 
> 
> Well, I'm beating my brains out trying to find this on MSDN, 
> but I'll bet this group knows...
> 
> I need an ASP equivalent to CF's built-in server variables, 
> like OS, OS Version, HTTP server, etc.  How can I get that in 
> ASP classic?
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to