Error Trapping   
 

<% On Error Resume Next %>

The above line turns on VBScript error trapping. In doing so, whenever a line of script produces an error the processing continues on to the next line of the script.

<%
If err.Number <> 0 Then
Response.Write "Number = " & err.Number & "<p>"
Response.Write "Description = " & err.Description & "<p>"
Response.Write "Source = " & err.Source
err.Clear
%>

The above prints the error information.



My3C's
perrychicker
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
© 1998 - 2010 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors