Solved

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

Posted on 2009-07-15
4
964 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

735 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