Thanks Steve! Both of these methods helped. The only question is to decide
which one to use. I like the Web Service method becasue it doesn't need a
full refresh of the page. However, I also like the MultiThreaded Approach
because it allows me to hold some items within the current HttpContext at
Serverside. (Like a Collection)
The scenario is that all of this data is going to be loaded into a database,
but then also some checks will be done against it at serverside to ensure
that no conflicts will occur. (Like one Person scheduled for a meeting
isn't already scheduled for another)
Once the data is done posting, the server would be holding a collection of
issues that will need to be resolved or ignored if the user wishes it.
Any ideas on which method you would use ?
--
Stephajn Craig
Steve C. Orr said:
It sounds like you should consider using multithreading.
By running the long process on a separate thread, you free the browser
up
to
do other things, such as display the current status of the task.
That way the browser will respond immediately with a new page and can
entertain the user while they wait with an animation or status bar.
You can have the browser refresh the status by putting an HTML line like
this in your code:
<META HTTP-EQUIV="refresh" CONTENT="3">
That will cause the browser to refresh every 3 seconds (and you can check
the status of the operation each time and redirect to a "done" page when
appropriate.)
Here's more details:
http://www.fawcette.com/vsm/2002_11/magazine/features/chester/
http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=547
Another option is that you could call a web service from your client side
JScript. Use the web service behavior for this. (WebService.htc) This
technique works with IE only.
Here's more details:
http://msdn.microsoft.com/library/d...rnet/behaviors/library/webservice/default.asp