Re: Safe multithreading in ASP.Net
From: Chris R. Timmons (crtimmons_at_X_NOSPAM_Xcrtimmonsinc.com)
Date: 08/06/04
- Next message: Simon Harvey: "Finding a dynamically added control - Quite Urgent :-("
- Previous message: Andrew: "Re: Managing Diagnostic Listener Files"
- In reply to: who be dat?: "Safe multithreading in ASP.Net"
- Next in thread: who be dat?: "Re: Safe multithreading in ASP.Net"
- Reply: who be dat?: "Re: Safe multithreading in ASP.Net"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 06 Aug 2004 04:02:46 -0700
"who be dat?" <whatever@dot.com> wrote in
news:10h5vp3hujp9452@corp.supernews.com:
> Consider the following code which enables multithreading in an
> ASP.Net application I'm writing:
>
> Code in global.asx Application_start subroutine, Threadnotify is
> declared Globally as a new thread where it uses the address of
> EmailNotify below:
<SNIP/>
Chris,
Do you really want to start a new thread for each application
instance? Or do you just want a maximum of one thread running as
long as there is at least one application instance running?
Maybe you could also tell us more about the functional requirements
of your app. Do users log into/out of your app? If so, when do you
want the thread(s) to run - when the app starts or when the first
user logs in? If users are required to log in, then maybe you could
shut down the thread(s) when the user logs out, instead of when the
app ends.
-- Hope this helps. Chris. ------------- C.R. Timmons Consulting, Inc. http://www.crtimmonsinc.com/
- Next message: Simon Harvey: "Finding a dynamically added control - Quite Urgent :-("
- Previous message: Andrew: "Re: Managing Diagnostic Listener Files"
- In reply to: who be dat?: "Safe multithreading in ASP.Net"
- Next in thread: who be dat?: "Re: Safe multithreading in ASP.Net"
- Reply: who be dat?: "Re: Safe multithreading in ASP.Net"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|