Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / March 2006

Tip: Looking for answers? Try searching our database.

long running process from ASP.NET page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ob - 17 Mar 2006 21:41 GMT
The situation I have is that I have a long running process (that takes 15 min
to process) kicked off from an ASP.NET page.  I launch a thread and kick of
the process and return instantly.  I store information about the thread in
the session variable, which allows the user to login later and see what the
status of that process is.  I would like to use a web garden, however the
round robin assignment of requests to the worker processes won’t work for me,
because I need subsequent requests on the same session to go back to the same
worker process.  How can I override the round-robin assignment, (ISAPI?), or
how can I solve this problem.  NOTE: I will have the same problem when I go
to a web farm, my strategy is to have requests from one session to go to the
same server and then to the same process.  I understand that this limits
scalability slightly; however, I am fine with this, I just don’t know how to
make it go back to the same process…



How can this be done?



Thanks
Adam May - 20 Mar 2006 00:37 GMT
Hi ob,

One solution would be to get the ASP page to call the long running process
in an external component hosted inside a windows service or
EnterpriseServices component.

Any process will be able to access the component to retrieve the status of
the process.

HTH,

Adam

Signature

Adam May
Sydney, Australia
MCSD.Net

> The situation I have is that I have a long running process (that takes 15 min
> to process) kicked off from an ASP.NET page.  I launch a thread and kick of
[quoted text clipped - 17 lines]
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.