Thread: Error Handling
View Single Post
  #2 (permalink)  
Old November 14th, 2003, 02:30 AM
alyeng2000 alyeng2000 is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

if you are using vbscript as ASP language you could use the err object :)

try this code sample for error handling

On Error Resume Next

CODE here

If Err.Number <> 0 Then
Response.Clear
Response.Write "There has been an error."
Response.Write "statement that caused the problem: "
Response.End
End If

Ahmed Ali
Software Developer
Reply With Quote