Ask a Question related to ASP.NET General, Design and Development.
-
Lenny #1
Starting a new thread in ASP.NET application
Hello,
Some pages in ASP.NET application perform very process-intensive tasks
(parsing large flat files, saving data to SQL Server, etc.. ) Some tasks
might take longer to execute than users' expectations. New thread(s) will be
started for these process-intensive tasks, so asp.net process can take over
and send response to the client's browsers.
Does anyone see any issues with this scenario?
How can application inform user when thread is completed or failed after
response was sent to a browser.
Can some kind of client-side object maintain connection with the server and
inform a user of the progress and when thread is completed/failed.
Any other alternatives?
Thank you in advance.
Lenny Guest
-
URGENT> starting a application from ASP
Hi all, I want to execute a VB application from a ASP page. Want I want to do is that I write some parameters to a database and then start the... -
every client of an application is a thread of fmsserver?
I'm deciding about an application structure, but I've a doubt about clients/thread. I have an application with 10 istances and every instance has... -
ColdFusionMX7 Application Server Service Not Starting
I'm getting a "Vendor Specific Error Code 2" when I try to start my CFMX7 Application Server service on a Win2KServer box running IIS. Does anyone... -
Starting ids SERVer but stops again with listener-thread: err = -25572
hi all. i just installed IDS 9.30 in windows XP. and am getting the following errors. Can any one help me. While Installation i got the... -
SIGSEGV in memcpy() when starting a n application
Hello, I am getting SIGSEGV immedaitely in the initialization of my app. by GDB I see that it happens in memcpy() when starting a n application ... -
dave wanta #2
Re: Starting a new thread in ASP.NET application
Check out
Sending 1000's of Emails from your webpage
[url]http://www.aspnetemail.com/samples/webmailer.aspx[/url]
I built it for customers who need to spawn a new thread, in asp.net to send
out their newsletter.
hth,
Dave
[url]www.aspNetEmail.com[/url]
"Lenny" <nospam@a.com> wrote in message
news:1hWdnTylBcRmNZqiXTWJkw@comcast.com...be> Hello,
>
> Some pages in ASP.NET application perform very process-intensive tasks
> (parsing large flat files, saving data to SQL Server, etc.. ) Some tasks
> might take longer to execute than users' expectations. New thread(s) willover> started for these process-intensive tasks, so asp.net process can takeand> and send response to the client's browsers.
>
> Does anyone see any issues with this scenario?
> How can application inform user when thread is completed or failed after
> response was sent to a browser.
> Can some kind of client-side object maintain connection with the server> inform a user of the progress and when thread is completed/failed.
> Any other alternatives?
>
> Thank you in advance.
>
>
dave wanta Guest
-
David Waz... #3
Re: Starting a new thread in ASP.NET application
I've got a similar process.
User uploads a couple of 100+meg flat files, we process them for bulk mail
center codes, postnet barcodes, etc and separate flat files based on the
mail center. The entire result is emailed as a zip package, and an entry in
the web-based archive.
Processing runs 1 to 15 minutes, depending on client connection speed and
size of job.
I leave the process running on the initial thread, sending a "+" sign every
100 rows to indicate progress. Worked fine until WINDOWS 2003 and VS 2003 -
now the process dies EXACTLY 105 seconds into the job. I've researched
Machine.Config, Web.Config etc, etc. (Even posted here - nobody responded)
and I have yet to find the problem.
That's my only concern with your project.
BTW, we put a message at the top, just as processing starts:
"This process will continue to completion, even if you close the browser"
That helps... You can monitor Response.IsClientConnected to see if the
escape (stop) your page, or navigate out. Then you can kill the process.
G.L.
"Lenny" <nospam@a.com> wrote in message
news:1hWdnTylBcRmNZqiXTWJkw@comcast.com...be> Hello,
>
> Some pages in ASP.NET application perform very process-intensive tasks
> (parsing large flat files, saving data to SQL Server, etc.. ) Some tasks
> might take longer to execute than users' expectations. New thread(s) willover> started for these process-intensive tasks, so asp.net process can takeand> and send response to the client's browsers.
>
> Does anyone see any issues with this scenario?
> How can application inform user when thread is completed or failed after
> response was sent to a browser.
> Can some kind of client-side object maintain connection with the server> inform a user of the progress and when thread is completed/failed.
> Any other alternatives?
>
> Thank you in advance.
>
>
David Waz... Guest
-
Lenny #4
Re: Starting a new thread in ASP.NET application
I downloaded your demo, this would work great for me. Thanks a lot!!!> Check out
> Sending 1000's of Emails from your webpage
> [url]http://www.aspnetemail.com/samples/webmailer.aspx[/url]
>
Lenny Guest



Reply With Quote

