ASP IN A NUTSHELL A Desktop Quick Reference [...]... component name Finally, ASP in a Nutshell includes three appendixes Appendix A, Converting CGI/ WinCGI Applications into ASP Applications, shows what’s involved in converting a simple application from Perl and Visual Basic to ASP and VBScript It also includes two handy tables that list CGI and WinCGI environment variables and their equivalent ASP properties Appendix B, ASP on Alternative Platforms, examines... undergone a transformation into a new language built using submissions from both Netscape and Microsoft This new language is called ECMAScript (from European Computer Manufacturers Association) According to David Flanagan in JavaScript: The Definitive Guide, this name was chosen specifically because it had no relation to either parent company and it had none of the marketing glitz of Java artificially associated... server ASP. DLL interprets all code in a file (with the ASP file extension) that’s delimited with as being ASP code (There is another way to delineate server-side code that I’ll cover in a moment.) Example 2-2 shows an active server page named ExampleChap2 .asp, with the VBScript code that will be interpreted by ASP. DLL in bold Example 2-2 : ExampleChap2 .asp Example... development Chapter 3, Extending Active Server Pages, examines the general mechanism for incorporating external COM components into an ASP application and lists the components that are included with Internet Information Server (IIS) In part, Active Server Pages is an object model that features six intrinsic objects (Application, ObjectContext, Request, Response, Server, and Session) that are always available... constant width italic indicates replaceable parameters Italic Italicized words in the text indicate intrinsic or user-defined functions and procedure names Many system elements, such as paths, filenames, and URLs, are also italicized Finally, italics are used to denote a term that’s used for the first time This symbol indicates a tip This symbol indicates a warning How to Contact Us We have tested and... verified all the information in this book to the best of our ability, but you may find that features have changed (or even that we have made mistakes) Please let us know about any errors you find, as well as your suggestions for future editions, by writing to: O’Reilly & Associates, Inc 101 Morris Street Sebastopol, CA 95472 1-8 0 0-9 9 8-9 938 (in the U.S or Canada) 1-7 0 7-8 2 9-0 515 (international/local) 1-7 0 7-8 2 9-0 104... Function DomainType(strDomainString) strPossibleDomain = Right(strDomainString, 3) Select Case Ucase(strPossibleDomain) Case "COM" DomainType = "company" Case "EDU" DomainType = "educational" Case "GOV" DomainType = "government_civil" Case "MIL" DomainType = "government_military" Case Else DomainType = "UNKNOWN" End Select End Function Example 2-6 : Including a Server-Side Function in an ASP Function... broader context of the evolution of web application development, provides a quick example Active Server Page, and briefly examines the ASP object model Chapter 2, Active Server Pages: Server-Side Scripting, examines the difference between client-side scripting and server-side scripting, takes a look at the structure and syntax of ASP pages, and examines the scripting languages that can be used for ASP. .. Preface ASP in a Nutshell: A Desktop Quick Reference, eMatter Edition Copyright © 2000 O’Reilly & Associates, Inc All rights reserved Preface How This Book Is Structured ASP in a Nutshell is divided into three parts Part I, Introduction to Active Server Pages, provides a fast-paced introduction to ASP that consists of three chapters Chapter 1, Active Server Pages: An Introduction, places ASP within... (Actually, the ObjectContext object is a Microsoft Transaction Server object that is available only if you’re using ASP 2.0 or greater.) Part II, Object Reference, documents each of these intrinsic objects These chapters are arranged alphabetically by object In addition, Chapter 10, Preprocessing Directives, Server-Side Includes, and GLOBAL.ASA, covers three major structural features of ASP that are . components that are included with the IIS installation. These eleven chapters are again arranged alphabetically by component name. Finally, ASP in a Nutshell includes three appendixes. Appendix A, Converting. languages that can be used for ASP development. Chapter 3, Extending Active Server Pages, examines the general mechanism for incorporating external COM components into an ASP appli- cation and. Converting CGI/ WinCGI Applications into ASP Applications, shows what’s involved in converting a simple application from Perl and Visual Basic to ASP and VBScript. It also includes two handy tables