Timeout

M

maa

The workflow is a user is making a request. On processing the reqeust there
is interaction between the client and server. The server can take anywhere
between 1 and 30 minutes. My client is hanging after a couple of minutes.
How can I prevent this?
Thanks,
Marc
 
P

Peter Bromberg [C# MVP]

You are attempting to make ASP.NET do something it was never designed to do.
The default page timeout is way lower than your "between 1 and 30 minutes".
What you need to do is rethink the architecture - store the results, and
have your page do some sort of polling to determine when the results are
ready for display to the user.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
 
T

ThatsIT.net.au

I agree anything that takes 30 minutes is not for a asp.net page. It also
sounds as if its not a job for your server.

Think about bigger more powerful hardware.

What I would do is store the inputs from the client along with his email.
Create a message queue
Build a service to read the queue and process the inputs and email the user
back
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top