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

Posted on 2012-09-04
Last Modified: 2012-10-30
What's the easiest way to set, or extend the time out period for a page in ASP .NET 3.5 [C#]?
Question by:mikesExpertExchange
    LVL 35

    Assisted Solution

    page directive
    LVL 35

    Expert Comment

    LVL 35

    Expert Comment

    Server.ScriptTimeout = 300;
    LVL 10

    Accepted Solution

    You can customise the timeout in your web.config file

         <sessionState timeout="20"></sessionState>

    20 refers to 20 minutes timeout period. you can increase to what ever time you want (in minutes).
    LVL 16

    Expert Comment

    by:Vikram Singh Saini
    I would suggest you to use executionTimeout as:

    <httpRuntime executionTimeout="600"/>

    Open in new window

    By default it is set 110 seconds. We have extended it to 600 seconds.
    LVL 1

    Author Closing Comment

    thank you

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    779 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

    13 Experts available now in Live!

    Get 1:1 Help Now