Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling first hit on a site
Message
From
27/09/2010 18:04:30
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
27/09/2010 18:00:34
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01482914
Message ID:
01482954
Views:
46
>I have moved the LockObject declaration in my oApp class, which is Shared. This seems to be much better. Basically, the following attached file demonstrates this logic.
>
>By looking at it, you will see that a lot of hits happened in the same second when I sent a new DLL. However, only one hit (represented here by the file name - ordered in sequence), got into the initialization process. All other hits fall into a pending mode and jumped directly to the end once the lock was released, thus oApp.lInitializeWeb was then set to True.

Great, that looks like it would work well.
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform