Client timeout during long process

T

Terry Olsen

I have a web app that gathers live data from network pc's and then
displays it to the client. It worked fine until I was asked to allow the
user to select multiple pc's for display. Now, depending on how many
pc's are selected, can take above 10 minutes to return the results. This
causes clients to timeout if the user selects too many pc's.

How can I set the client timeout property so that it will wait longer
before assuming the web page is not responding?

Thanks.
 
A

Aidy

I have a web app that gathers live data from network pc's and then
displays it to the client. It worked fine until I was asked to allow the
user to select multiple pc's for display. Now, depending on how many
pc's are selected, can take above 10 minutes to return the results. This
causes clients to timeout if the user selects too many pc's.

How can I set the client timeout property so that it will wait longer
before assuming the web page is not responding?

Thanks.

To answer your question;

Server.ScriptTimeout = 100

Where 100 is the number of seconds before a timeout. The better solution is
to re-work how you do this.
 

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

Top