Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Identify your ASP Components
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Identify your ASP Components

 Post Reply Post Reply
Author
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3938
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Topic: Identify your ASP Components
    Posted: 15 July 2004 at 12:02pm

Lot of new to asp people around lately so thought I'd post this...

This site has a couple of scripts you can upload to your site to list the ASP components you have available, or just the mail components.
http://www.pensaworks.com/prg_com.asp

This is a script that called variables.asp that will list all of your Server. Application and Session variables. Useful for debugging some things.

<%
'
' List Server, Application and Session Variables
'

On Error Resume Next
dim strName

response.write "SERVER Variables Count = " & Request.ServerVariables.Count & "<br /><br />"
For Each strName In Request.ServerVariables
 If strname ="ALL_HTTP" OR strname ="ALL_RAW" then
  response.write "Server Variable " & strName &" = <br />" & Request.ServerVariables(strName) & "<br /><br />"
 Else
  response.write "Server Variable " & strName &" =  " & Request.ServerVariables(strName) & "<br />"
 End If
Next
response.write "<br /><br /><hr />"


response.write "APPLICATION Variables Count = " & Application.Contents.Count & "<br /><br />"
For Each strName in Application.Contents
 response.write "Application Variable " & strName &" =  " & Application(strName) & "<br />"
Next
response.write "<br /><br /><hr />"


response.write "SESSION Variables Count = " & Session.Contents.Count & "<br /><br />"
For Each strName in Session.Contents
 response.write "Session Variable " & strName &" =  " & Session(strName) & "<br />"
Next
response.write "<br /><br /><hr />"


response.write "MISCELLANEOUS<br /><br />"
dim objAdoVer
Set objAdoVer = Server.CreateObject("adodb.connection")
response.write "ADOVersion = " & objAdoVer.Version
Set objAdoVer = Nothing
%>


Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.