Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
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…

831 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