Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to exten IIS timeout for ASP page response to let sey 120 minutes

Posted on 2009-07-15
4
Medium Priority
?
990 Views
Last Modified: 2012-05-07
What registry keys or even better HTML headers are necessary to extend the IIS server side defined ASP page response timeout?
I need this to create a server-push page which will wait very long time (hours) for new events and I want to reduce traffic by keeping the requests open until new event occur.



0
Comment
Question by:Zvonko
  • 2
4 Comments
 
LVL 15

Assisted Solution

by:mohan_sekar
mohan_sekar earned 400 total points
ID: 24860717
Do you mean "script timeout"? If so, it's a setting in IIS - right click on your web application in IIS, select 'Properties'. Click on Configuration and select Options tab - set the script timeout to whatever value you want
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 0 total points
ID: 24860751
Sorry, I just found a good compilation of the statements I need in my ASP page to control timeouts:
http://classicasp.aspfaq.com/general/how-do-i-increase-timeout-values.html

I need the ASP page not to timeout so I assume the Server.ScriptTimeout is the keyword of choice.

Thanks anyway.

0
 
LVL 8

Expert Comment

by:lharrispv
ID: 24860803
YOu can try these

Server.ScriptTimeout=600;
cmd.CommandTimeout=600;

or check this out

<httpRuntime executionTimeout="600" />

http://msdn.microsoft.com/en-us/library/e1f13641.aspx
0
 
LVL 63

Author Comment

by:Zvonko
ID: 24860901
Thanks but the last one was for ASP.NET pages.
I forgot to mention that by ASP I am using only classic ASP features.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

927 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