Page

9.5.0- The Server Object's Role in Debugging

Created by Brendan Doss.
Last Updated by Jim Minatel.  

PublicCategorized as 09. Error Handling.

Not yet tagged
<< 9.4.4- Client-side versus Server-side DebuggingChapter99.5.1- The GetLastError Method >>

The Server Object's Role in Debugging

One final aid is the ability to write your own custom-made ASP scripts to handle the occurrence of errors. The Server object provides some of the most used and, indeed, most useful properties and methods contained in any ASP page. However, unlike the rest of the objects in the ASP object model, it doesn't seem to have been designed for one specific purpose, but rather as a catch-all home for a miscellaneous and often unrelated set of properties and methods that run on the server. This shouldn't detract from the importance of these attributes of the Server object. Indeed, one method (CreateObject) is so important that we're taking a separate chapter out to talk about what you can do with it.

 

We're not going to discuss all of the properties and methods of the Server object here, but there is one method that has special relevance to debugging procedures and in the creation of custom made error pages.

<< 9.4.4- Client-side versus Server-side DebuggingChapter99.5.1- The GetLastError Method >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |