Configuring IIS4 to implement application isolation

Source: Internet
Author: User
If the IIS4 is not isolated from the application, then we can run an ASP program that would have a strange phenomenon, two applications, such as chatting
Room, friends in different chat rooms can talk to each other because there is no application isolation because two chat rooms share the same
Session and application objects. So mixed up together.
Let's talk about how to configure IIS4 to implement application isolation.
Isolated application space, there are generally two methods, one is to use a multiport virtual host to isolate the application, on each port to open a
A Web site. This allows each application to occupy a different port. Another approach is to set the IIS4 application startup point, isolate the application, and now the main
To introduce the second method, assume that the WWW service's release path is C:\Inetpub\wwwroot, and there is a directory called Realchat in this directory, realchat the main
There is a user directory under the directory with a folder called user_1, which needs to run a stand-alone ASP application. Now need to user_1 this file
Folder for configuration. Create an application startup point for it.
The following methods are configured: Run Internet Services Manager, select the Web site, expand the directory on the right, realchat->user->user_1, select
user_1 Right-click the properties, select the "Home Directory" tab, in the middle where there is a "Application Settings" tab, the EditBox was originally Gray,
Click the "Create" button next to EditBox, and enter user_1 as the identity of the application in EditBox, temporarily do not need to check "empty in different memory
To run the application, save the settings, stop the Web service, and then restart the service, and the settings will take effect.
You can use this method for application isolation for any number of ASP programs.


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.