Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major mixup in two ASP.NET transactions
Message
From
03/09/2006 22:57:58
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01150471
Message ID:
01150646
Views:
28
>It sounds like you're looking for static/shared properties. Static constructors are guaranteed to fire only once.
>
>HttpApplication is not a single instance. There are a many HttpApplication instances (which is what global.asax is) that are served from a pool so anything you attach to HttpApplication that is not static will have multiple instances.
>
>This might help in understanding how the pipeline works:
>
>http://www.west-wind.com/presentations/howaspnetworks/howaspnetworks.asp

Thanks, I will take a look at that article.

In the meantime, I found a way to make this work much better. I just created a message in this thread for a resume. Message #1150644 contains it. Instead of messing with code in the global.asax and now have clean code in a framework class. I just need to fine tune it a little bit so I could avoid calling the framework Initialize() method at every hit. But still, the respond time is extremely fast but faster wouldn't hurt.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform