Solved

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

Posted on 2009-07-15
4
951 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 100 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now