Learning to use ASP objects and components

Source: Internet
Author: User
Tags http request
ASP objects allow your servers and browsers to interact with each other, and you will routinely use one or more objects in your ASP scripts. You don't have to install anything to use them, but you have to remember to turn them on or off.
Transfer from: China Software network www.csdn.com.cn
ASP components, unlike ASP objects, are ActiveX control and ASP interfaces that allow ordinary processes to single. Some common use objects and components are defined below this.
Object
Request Object
The Request object allows you to receive information through an HTTP request. You can use the request object to analyze coded URLs, access information from a table, and read cookies, customer authentication, and HTTP headers.
Response Object
The response object is the key to sending the information to the user. You can write to the screen, change direction to the next page, and create a cookie that uses the corresponding object.
Application objects
The Web server being executed is an application. With application objects, you can control and start and close program-related features while storing information that should be accessed by the application.
Server objects
The server object lets you perform routine functions, such as mapping a virtual path to physics and creating a component example diagram.
Meeting Objects
With meeting objects, you can store information related to each user accessing your site.

Component
Advertising Converter
An ad converter is a streamline process for creating a delivery system for your headline ads. In a separate file, you can store information about the title. The component randomly selects the title each time the page is downloaded.
Browser Capabilities
The browser component lets you determine what browsers and browsers are used by users to support performance.
Collaboration Data Objects (CDO)
With the IIS SMTP server, CDO allows you to send and receive e-mail messages. With CDO, you can execute a form without relying on Perl scripts and CGI.
Content Connection
This is a manual object that creates a linear or sequential path to a part of your site or site. You can include a simple text to list the appropriate order of the files. You can add next and previous connections to your page to make your pages easier to connect.
Content Converters
If you need to spray the content, this is a very good component. It's very good to use and it lets you add dynamic content to any page without using a database. In separate text files, you store the knowledge blocks of HTML code, which are alternately placed in the space of the page. The content converter displays a knowledge block each time the page downloads.
Database access
With this component, you can have the database write components to the browser screen and create or update existing database files.
Third-party components
There are many third-party components, there are fees and no charges, can be used by the ASP. If you run your own hungry server, you can install components as you wish, registering a. dll is usually an extension of the installation, so a component can be a time deliverer. You can save a lot of time to check whether the component exists and can work by hand.
If your site is hosted by an ISP, you can install your own components or install them yourself, so you can check with your ISP's support team.

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.