An Active Server Pages Tutorial, Part 1

In a two-part introduction to the basics of plain ASP, the author walks you through the steps needed to employ scripts for creating dynamic Web pages.

provided by: 
Originally published at Internet.com


SESSION 1

Introduction to Active Server Pages



Active Server Pages (ASP) is one of the most exciting and interesting Internet technologies ever created by Microsoft. With ASP, developers can build dynamic websites very easily. A script running on the server receives a request from the client and generates a customized HTML page, which will be returned to the client. ASP is available with Microsoft IIS (Internet Information Server). It is available only with the Windows NT operating system. If you are using Windows 98 or 2000, you can use Microsoft Personal Web Server to test your ASP scripts.
Overall Working of an ASP Page
1. Server receives the request for the ASP Page from the client 2. Server loads the ASP Page and executes the Script and HTML in the page. 3. A new HTML page is generated 4. It is then returned to the user and viewed in the browser.

Since pure HTML is generated, it obviously works on browsers such as Internet Explorer and Netscape.
How to Write an ASP Page


The script in an ASP page can be written by using Visual Basic Script, JavaScript, or JScript (or ECMAScript). JScript is the Microsoft Version of JavaScript. You should use Notepad or any other text editor to write your code. The most ideal tool for coding ASP is Microsoft Visual Interdev. After typing your code, you should save the file with the extension .asp if you use Notepad. If you are using Microsoft Visual Interdev, your .asp file is automatically saved as a .asp file. (See the end of this Session for more information about this tool.) ...

Read article at Internet.com site
Related Articles
- Book Review: ASP.NET For Dummies
ASP.NET for Dummies is more than just a book. In addition to its 420 printed pages, it also contains a "cheat sheet" tear card, a support Web site, and a CD with over a hundred additional pages. Check out our full review of this new book.
- Book Review: XML for Bosses
- Interacting with .NET WinForms, Part 1
- Multiple Level Undo/Redo
- SharePoint with HTTP Modules and Handlers
- An Active Server Pages Tutorial, Part 2
- Interacting with .NET WinForms, Part 2
- Netscape 4.x Preferences Dialog
- Client/Server interprocess communication via shared memory
- Creating Word Documents by Using C# and XML
Regional Articles
- An Active Server Pages Tutorial, Part 1 Alabama
- An Active Server Pages Tutorial, Part 1 Alaska
- An Active Server Pages Tutorial, Part 1 Arizona
- An Active Server Pages Tutorial, Part 1 Arkansas
- An Active Server Pages Tutorial, Part 1 California
- An Active Server Pages Tutorial, Part 1 Colorado
- An Active Server Pages Tutorial, Part 1 Connecticut
- An Active Server Pages Tutorial, Part 1 DC
- An Active Server Pages Tutorial, Part 1 Delaware
- An Active Server Pages Tutorial, Part 1 Florida
- An Active Server Pages Tutorial, Part 1 Georgia
- An Active Server Pages Tutorial, Part 1 Hawaii
- An Active Server Pages Tutorial, Part 1 Idaho
- An Active Server Pages Tutorial, Part 1 Illinois
- An Active Server Pages Tutorial, Part 1 Indiana
- An Active Server Pages Tutorial, Part 1 Iowa
- An Active Server Pages Tutorial, Part 1 Kansas
- An Active Server Pages Tutorial, Part 1 Kentucky
- An Active Server Pages Tutorial, Part 1 Louisiana
- An Active Server Pages Tutorial, Part 1 Maine
- An Active Server Pages Tutorial, Part 1 Maryland
- An Active Server Pages Tutorial, Part 1 Massachusetts
- An Active Server Pages Tutorial, Part 1 Michigan
- An Active Server Pages Tutorial, Part 1 Minnesota
- An Active Server Pages Tutorial, Part 1 Mississippi
- An Active Server Pages Tutorial, Part 1 Missouri
- An Active Server Pages Tutorial, Part 1 Montana
- An Active Server Pages Tutorial, Part 1 Nebraska
- An Active Server Pages Tutorial, Part 1 Nevada
- An Active Server Pages Tutorial, Part 1 New Hampshire
- An Active Server Pages Tutorial, Part 1 New Jersey
- An Active Server Pages Tutorial, Part 1 New Mexico
- An Active Server Pages Tutorial, Part 1 New York
- An Active Server Pages Tutorial, Part 1 North Carolina
- An Active Server Pages Tutorial, Part 1 North Dakota
- An Active Server Pages Tutorial, Part 1 Ohio
- An Active Server Pages Tutorial, Part 1 Oklahoma
- An Active Server Pages Tutorial, Part 1 Oregon
- An Active Server Pages Tutorial, Part 1 Pennsylvania
- An Active Server Pages Tutorial, Part 1 Rhode Island
- An Active Server Pages Tutorial, Part 1 South Carolina
- An Active Server Pages Tutorial, Part 1 South Dakota
- An Active Server Pages Tutorial, Part 1 Tennessee
- An Active Server Pages Tutorial, Part 1 Texas
- An Active Server Pages Tutorial, Part 1 Utah
- An Active Server Pages Tutorial, Part 1 Vermont
- An Active Server Pages Tutorial, Part 1 Virginia
- An Active Server Pages Tutorial, Part 1 Washington
- An Active Server Pages Tutorial, Part 1 West Virginia
- An Active Server Pages Tutorial, Part 1 Wisconsin
- An Active Server Pages Tutorial, Part 1 Wyoming
Related Articles
- Book Review: ASP.NET For Dummies
ASP.NET for Dummies is more than just a book. In addition to its 420 printed pages, it also contains a "cheat sheet" tear card, a support Web site, and a CD with over a hundred additional pages. Check out our full review of this new book.
- Book Review: XML for Bosses
- Interacting with .NET WinForms, Part 1
- Multiple Level Undo/Redo
- SharePoint with HTTP Modules and Handlers
- An Active Server Pages Tutorial, Part 2
- Interacting with .NET WinForms, Part 2
- Netscape 4.x Preferences Dialog
- Client/Server interprocess communication via shared memory
- Creating Word Documents by Using C# and XML

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML