Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Continually Server-Side working progress

Posted on 2011-03-24
3
Medium Priority
?
294 Views
Last Modified: 2012-05-11
Hi,

I need a soluttion for something like this:
1. User start an action that takes a long time (up to hours) at his browser
2. A script sends a callback to the server, server starts the progress and response to the client
3. The user continue working and when the progress is ready the genereted file will be in his folder

So my question is how can I run a task with ASP.NET and keep it running until it's ready also if sessions etc. are expired or user shut his PC down?

Thanks

Andre
0
Comment
Question by:andre72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:Kelmen
ID: 35205462
i would suggest only using the asp.net to invoke/start the process, nothing more.
once the process is done, sent an email to the user.

is this long process can support multiple instances?
typically such app is single-instance. then i suggest use web service configured as single instance to execute the process

your asp.net is just to call that webservice, and forget it.
0
 

Author Comment

by:andre72
ID: 35205613
This sounds well and one instance is fine as it also need high performance.
So you mean something like:
mythread = new Thread(new ThreadStart(action));
mythread.Start();

Would be fine?
0
 
LVL 5

Accepted Solution

by:
Kelmen earned 2000 total points
ID: 35212223
the web service can be configure single instance and one-way/fire-and-forgot

client code calling should be typical. i don't have much details on this, you need to research abit, but i do aware web service part can be configure as such.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question