Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enhancement to an actual design
Message
De
15/03/2010 05:13:51
 
 
À
14/03/2010 16:43:29
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01454437
Message ID:
01454496
Vues:
37
>I have a design issue which I would like to obtain. It is not easy. But, here is the situation.
>
>I have 17 Web sites.
>I have only one directory serving all those Web sites.
>So, basically, the Bin\LevelExtreme.dll serves all those Web sites.
>Each of those Web sites have a Web site created in IIS.
>However, each of those entries in IIS points to the same directory.
>
>So, with that structure in mind, one project serves all those sites. It is considered of course that the LevelExtreme.dll has everything it needs to know how to deal with that.
>
>So, when a first hit is happening to each of those sites, my application object is initialized. So, on the upcoming hit on the same site, the application object is already loaded in memory so it will not initialized again. The same thing happens for each of those sites. Because each of those sites have their own site in IIS serving their own domain, the initialization process will happen for each of them on the first hit. This is done in a flash. The problem is not there.
>
>What I am trying to do is to have this initialization done only once and share the application object on all those sites.
>
>Any idea?

I don't think it can be done that way.
I believe it's possible to put all the web sites into one application and use URL re-writes to map different domain names to the relevant place. But I'm not sure why you would want to do that - bear in mind that HttpApplication only processes one request at a time and if you only have one instance it will presumably be taking a much larger loading.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform