Explore the FAQs

Error Handling

Using the File System Object on IIS with Norton Antivirus Running

When using the FSO, my ASP page tends to "hang", but doesn't report any errors.

For instance if you use the Pure ASP upload Pack by George Petrov

Read More
Error Handling

Retrieve form fields for debugging

Q

How can i view the contents of a submitted form?

A

Create an ASP page with the following code, and set your form's ACTION
attribute to point to this page.


<% Option Explicit %>
<html>
<!-- head tag -->
<body>

<%
dim fld

response.write "Result from: " & request.serverVariables("HTTP_REFERER")
response.write "<table>"
response.write "<tr><td>Field</td><td>Value</td></tr>"
for each fld in request.form
response.write "<tr><td>" & fld & "</td><td>" & request.form(fld) & "</td></tr>"
next 'fld
response.write "</table>"

%>

</body>
</html>

 

source: ASPToday

Read More
Error Handling

IE ASP Error Handling

I am getting those nasty error500 pages when my ASP code isn't correct and can't see any information on the error that it produces ?

Read More