|
Complete online scripts resources directory on web Online Scripts Hub one stop for all kinds of webmaster scripts. Programmers, Developers can browse from 1000+ categories of scripts from categories ASP, ASP.net, C and C++, ColdFusion, CGI and Perl, Flash, Java, JavaScript, PHP, Python, Remotely Hosted, Tools and Utilities, Web Hosting and XML categories. Browse the large scripts databse and find the best freeware or shareware script that suit your need. If you have any resource i.e script in freeware or shareware, just list in our directory.
|
Submit Script :: Modify Script
Online Scripts > ASP > ASP Tips and Tutorials > Error Handling
| 1.
Email Validation
|
This code sample demonstrates how to validate an email address using regular expressions. It ensures that an email address is properly syntaxed and ends with a valid TLD (top level domain).
|
Date Added: 09-Nov-2005 Hits: 26 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 2.
A Custom ASP Error Class with Pop-up Dialog Box
|
Here you will find an error class called CError that allows you to display a custom dialog box with the option to have a detailed message, a general message, and log the error in a file for later reference. Also uses some JavaScript and DHTML to allow the user to drag the dialog box around.
|
Date Added: 09-Nov-2005 Hits: 38 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 3.
404 Error Page (With a Db an IP Capture)
|
This example demonstrates how to serve a custom page to users whenever a 404 error occurs as well as log the user info such as ip, referer, request, agent into a database.
|
Date Added: 09-Nov-2005 Hits: 23 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 4.
Implementing Error Logging in ASP 3.0
|
The author writes "It is important to know what is going on with your site in development and production. By implementing proper error logging, you can quickly track down errors, and provide your team members with enhanced error information." This tutorial describes how to create a simple and effective logging system using the new ASP Error object.
|
Date Added: 09-Nov-2005 Hits: 30 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 5.
Using exception handling
|
It is quite common for people using the CoverYourASP source code to get errors when first connecting to the database. This tutorial explains how simple exception handling helps them fix the problems.
|
Date Added: 09-Nov-2005 Hits: 26 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 6.
Handling 404 errors with email - and a twist
|
Everyone has seen an HTTP 404 error at some point. You follow a link on a web page, and BOOM - File not found. Perhaps the author spelt it incorrectly, or the page was uploaded to the server by mistake. This tutorial'll show you how to handle this 404 error gracefully by displaying your custom error page, and send an email to yourself so the problem gets fixed.
|
Date Added: 09-Nov-2005 Hits: 29 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 7.
404 Error Page (CDONTS)
|
The basic 404 error or file not found page serves two specific purposes. Firstly, to alert the user that the item they were expecting is not currently available. Secondly, to alert the webmaster that a file is missing or a link is targeting something incorrectly. In order to provide users with a page that will show up whenever a 404 error occurs you need to change the settings on your web server to target a specific page or contact your hosting company to do this for you. Once setup, the location of any file that is requested and not found in the server will be made available as a query string value and can be outputted as a message to the webmaster. Sending a message to the webmaster can be done a number of ways this example demonstrates the use of CDONTS.
|
Date Added: 09-Nov-2005 Hits: 25 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
|
|