ASP notes (1)

xiaoxiao2021-03-06  95

1 Debug method for the ASP script:

1-1 IIS-> Site Properties -> Application Debug -> Enable server-side script debugging

2 ASP error 500, internal error, reason IIS server problem

2-1 Solution to restart IIS, method: iis-> Select the restart host -> Right click to restart OK

3 Meta identifier role:

3-1 Meta definition: Meta is an optional tag entry in the HTML language, the header portion of the HTML file. The text defined in the Meta tag is not displayed in the browser.

3-2 Meta usage:

3-2-1, grammar:

3-2-2, Parameter Analysis: 1) Name Item: Commonly used options with keywords, description, author, etc. 2) http-equiv Item: Can be used to replace the NAME item, the commonly used options are Creation-Date, Refresh, etc. 3) Content item: According to the definition of the Name item or the HTTP-Equiv, what kind of string is decided to fill in. 3-2-3, for example: CREAHTTP-Equiv =" CREAHTTP-Equiv)> / implementation waiting for 5 seconds after jump to other pages

3-3 Relationship between registration with the navigation station

3-3-1 Since the text defined in the Meta tag is not displayed in the browser, this tag is generally used to define the content that other tag entries reflect. Among them, items related to the navigation station have a keywords and description of the Name item.

3-3-2 Operation Mechanism of Navigation Table: The Navigation Station leads to different operational mechanisms due to the background procedures used. One type of navigation is represented by Yahoo. Its lattime is a large database. Before adding to the database, it is necessary to first check the application for registration, and then enter the database to people inquiry. There are also many navigation spaces that don't rely on manual review of the web, but how do you register, how do I give you a guide. Such navigation are generally referred to as Navigators or Directries. In addition to the database, the background of the second type of navigation station also has a special program, which is used to automatically access the home page of the application registered site, and extract the title required by the navigation station (Description) and keywords. This nature of the navigation table is also known as: Robots, Crawlers, Wanderers, Spiders, etc. 3-3-3 The relationship between Meta marker entry and navigation station registration:

Obviously, the Meta tag item in the home page does not work on the first type of navigation, and is only useful to the second type of navigation station.

Due to some navigations in the second type of navigation, some navigations have to be bore the Meta items in the home page, and is the procedure automatic design, this provides a multi-havehing machine for the heart. The relationship between the Meta tag entry and the navigation station is also here.

Just like people fishing, you have to catch the fish, you must put different fishing bait according to different fish. After carefully studying the characteristics and laws of the second type of navigation, it summarizes a set of empirical methods. In accordance with this method, you can get a better place in the navigation desk.

3-3-4 Defining Meta Tips

1) To define the Meta tag entry, it is necessary to define the top 200 characters of the home page to reflect the text of the home page. Because some guides are in the keywords in the standard Meta, the top 200 characters in the body should be directed. For example, Altavista. Therefore, some people find that the description in the navigation station is not what you want, but the text, such as copyright description. The reason for this phenomenon is that this is not noticed. 2) Put the Meta tag item that defines the keyword before the definition description Meta item. Such as: 3), put the most important keywords in the forefront to keep relevant keywords. Full-lowercore coexist with the first letters, because some guides are sensitive to characters in the standard. Including punctuation should not exceed 250 words 4), the first page is best not to use the Frame structure, because Frame divides the screen into multiple windows, the navigation station cannot intelligently select the home page to the home page in the correct window.

3-3-5 Determine the principle of keywords

1) Stand in the perspective of the retrieval to imagine which keywords he use to retrieve. 2) Related to the contents of the home page. 3) It is an accurate keyword in a certain industry or dedicated. 4) Beneficial or dedicated keywords, but it is often used by mistakes and should be used. 5) Synonyms, express the same meaning of the same meaning, is also available. 6) How much is the number, the more the number is in principle, the better the effect should be. 7) Some key phrases or phrases make more active. 8) Some words often used in Internet generally do not use, such as HomePage, HomePageonwww, web, webpage .... 9) Don't take too much grammar, some prepositions, such as the, of, there, is, to .... Its not mandatory. 10) Keywords case, such as full lowercase, all-in-law, first letters should be treated as a separate keyword. 11) META has an important impact on the ranking in the navigation platform characterized by Robots, but is not the only factor. There are still many techniques that need to be combined in terms of navigation unit. 4 How to introduce * .js files in the ASP file (JavaScript file):

4-1 First establish the * .js file, then add code in the HEAD area of ​​the ASP document: