Solved

urgent asp question

Posted on 1998-08-17
1
145 Views
Last Modified: 2013-12-25
Can I handle errors in ASP's?Can u give me some sample code?I need it urgently.please help me as quick as possible.....
0
Comment
Question by:rvsamuel
1 Comment
 
LVL 2

Accepted Solution

by:
Jagar earned 20 total points
ID: 1854385
Simple what you have to do is use the line

On Error Resume Next

This is the only error checking that ASP has.  Then after a line where you expect and error you check the Err object.  The error object has these properties (Number, Description, plus others)
Then you can check for whatever error you expect and handle it.

That's all there is to it.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now