• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

How do I extend the timeoutperiod for a page in ASP .NET?

What's the easiest way to set, or extend the time out period for a page in ASP .NET 3.5 [C#]?
0
Michael Sterling
Asked:
Michael Sterling
2 Solutions
 
YZlatCommented:
page directive
0
 
YZlatCommented:
Server.ScriptTimeout = 300;
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
himanshutCommented:
You can customise the timeout in your web.config file

<configuration>
  <system.web>
     <sessionState timeout="20"></sessionState>
  </system.web>
</configuration>

20 refers to 20 minutes timeout period. you can increase to what ever time you want (in minutes).
0
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
I would suggest you to use executionTimeout as:

<system.web>
<httpRuntime executionTimeout="600"/>
</system.web>

Open in new window


By default it is set 110 seconds. We have extended it to 600 seconds.
0
 
Michael SterlingWeb Applications DeveloperAuthor Commented:
thank you
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now