Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
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…

895 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

11 Experts available now in Live!

Get 1:1 Help Now