web 2.0

ASP & On Error Resume Next

ASP & On Error Resume Next this command for skip and ignore the error.

ShotDev Focus:

-  Skip and ignore the error.

Example

asp_onerrorresumenext.asp


<% Option Explicit %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
On Error Resume Next
Response.write 200*abc   '*** Microsoft VBScript runtime (0x800A01F4) Variable is undefined: 'abc' ***'
Response.write ("Hello www.ShotDev.Com")
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run

http://localhost/myasp/asp_onerrorresumenext.asp

Screenshot

ASP & On Error Resume Next

.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.