Global application function asp.net

M

Matt

Hi,

I am writing a web appplication that will use a global licensing
paradigm. For every instance of the server I want to check the
licensing requirements i.e the application in a global context. I've
read that using the Application_Startup event in HttpApplication class
is useless because an application does not map to an instance of the
webapp - i.e that method could be called more than once as more
httpApplication instances are created to handle request from the same
app.

Is there any way I can ensure that a method is only called once if a
client is connected? Maybe a global sessionsAlive boolean or such? Or
somewhere that ALL asp.net httpApp instances have access to so I could
query the contents of a container.

Thanks
Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top