Contents
1. ASP basics
2. Five ASP objects
3. Request object
4. Response object
5. Server object
6. Application object
7. Session object
1. ASP basics
Microsoft Active Server Pages, known as ASP, is a Server-side scripting environment developed by Microsoft. ASP is embedded in IIS, and the latest version of ASP 3.0 is embedded in IIS 5.0. With ASP, you can combine html web pages, ASP commands, and ActiveX controls to create dynamic, interactive, and efficient WEB server applications. With ASP, you don't have to worry about whether your browser can run the code you have written, because all programs will be executed on the server side, including all script programs embedded in common HTML. After the program is executed, the server only returns the execution results to the client browser, which reduces the burden on the client browser and greatly improves the interaction speed.
ASP has the following features:
& Oslash; uses VBScript, JScript, and other easy-to-understand scripting languages combined with HTML code to quickly complete website applications.
& Oslash; it is easy to compile without compilation and can be executed directly on the server.
& Oslash; can be compiled using a common text editor. To better develop teams, Microsoft has developed a special development tool Visual InterDev, which is an integrated Web application software development system, includes all the functions required for developing, releasing, and managing database-driven Web applications.
& Oslash; the scripts VbScript and JScript used by ASP are all executed on the Web server. The client browser does not need to be able to execute these script languages.
& Oslash; the ASP Source program will not be uploaded to the client's browser, so it can avoid being plagiarized by others, thus improving the security of the website.
& Oslash; ActiveX Server Components provides unlimited scalability. You can use Visual Basic, Java, Visual C ++, CoBol, and other programming languages to compile your required ActiveX Server Component.
ASP programs can contain plain text, HTML tags, and script commands. You only need to put the. asp program under the virtual directory of the Web server (this directory must have executable permissions), you can access the ASP program through WWW.
Basic ASP knowledge:
& Oslash; learn how to use MicroSoft Visual InterDev.
& Oslash; install and use the ASP server.
& Oslash; ASP is embedded in IIS. For example, IIS 4.0 of NT 4.0 contains IIS 2.0, and IIS 2000 of Windows 5.0 contains IIS 3.0. It doesn't matter if it is a common Windows 98 User. Microsoft also developed a Server Personal Web Server designed for learning ASP. It is generally included in the add-ins/pws Directory of the official version of Windows 98, as long as the Personal Web Server is installed, windows 98 users can still learn ASP Programming.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service