Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Currently, the development of dynamic web pages using ASP is a popular mode for clients to view web pages using Microsoft's IE series browsers. We encountered such a problem during the development process. Due to technical and time constraints, an execution program must be called on the webpage. Of course you can use a hyperlink to direct to the desired program, but this will be "hacked" by Microsoft: every time you open this link in IE, an undesirable warning box will appear (of course, it is justified mainly for security considerations ), this is acceptable to users. Can we solve this problem in a convenient and concise way?
After some research, a method called "Li daitao" has been introduced:
L create a specific file type in the system, for example, *. spa;
2. Associate this type of file with the program to be executed in ASP;
3. The hyperlink points to a file with the set extension "spa.
The principle of this approach is: when you open a file through a hyperlink in IE, if the browser can interpret this type of file itself, the content of the file is directly displayed in a browser, such as a text file, otherwise, search for the settings in the registry, find the program that processes this type of file, and then call the corresponding program to open the file.
The specific implementation methods are manual and automatic, as shown below:
(1) manual settings
L open the resource manager, as shown in Figure 1. Click the [Folder Options] menu in the [view] menu. The [Folder Options] dialog box is displayed, as shown in figure 2, the [file type] page is displayed;
Note: You must select a file or folder. If you select [printer] or [control panel], this dialog box does not exist.
2. Click [new type (N)…]. Button to open
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.