ASP Introduction
ASP files can contain text, HTML tags, and scripts. Scripts in an ASP file can be executed on the server.
Prerequisites
Before continuing your study, you need to have a basic understanding of the following:
- HTML / XHTML
- Scripting languages such as JavaScript or VBScript
If you wish to learn these topics first, please visit our Home to access these tutorials.
What is ASP?
- ASP stands for Active Server Pages (Active Server Pages)
- ASP is a Microsoft technology
- ASP is a program that runs in IIS the server environment
- IIS stands for Internet Information Services (Internet Information Services)
- IIS is a free component of Windows 2000 Microsoft Windows
- IIS is also Windows NT 4.0 Option Pack part of the Windows operating system
- This optional package is available from Microsoft's site Download
- PWS It is smaller in size - but has the full functionality of IIS
- PWS can be found on your Windows 95/98 CD Windows CD
ASP Compatibility
- To run IIS, you need Windows NT 4.0 or higher
- To run PWS, you need Windows 95 or higher
- ChiliASP is a technology for running ASP on non-Windows operating systems
- InstantASP is another technology for running ASP on non-Windows operating systems
What is an ASP file?
- ASP files are similar to HTML files
- ASP files can contain text, HTML, XML, and scripts
- Scripts in ASP files can be executed on the server
- The file extension of an ASP file is ".asp"
How does ASP differ from HTML?
- When a browser requests an HTML file, the server returns the file
- When a browser requests an ASP file, IIS passes the request to the ASP engine. The ASP engine reads the ASP file line by line and executes the scripts in the file. Finally, the ASP file is returned to the browser as pure HTML.
What can ASP do for you?
- Dynamically edit, change, or add any content on a web page
- Respond to queries or data submitted by users from HTML forms
- Access data or databases and return results to the browser
- Customize web pages for different users, improving the usability of those pages
- The advantage of using ASP instead of CGI and Perl lies in its simplicity and speed
- Provides security - ASP code cannot be viewed from the browser
- Good ASP programming can minimize network traffic
**Note:** Since ASP scripts run on the server, the browser does not need to support scripts to display ASP files!