session timeout in

Posted on 2008-11-12
Last Modified: 2012-05-05
Hello Experts,

If I want to increase the session timeout interval to 60 minutes for one of the page where should i set this?

Can I do on the aspx page? or should I have to do in code behind ie aspx.vb?

please advise
Question by:learningnet
    LVL 8

    Expert Comment


    Author Comment

    can i not set session.timeout = 300 in the page?

    Author Comment

    i have disabled this in the web.config file

          <!-- <sessionState mode="InProc" cookieless="true" timeout="20" /> -->

    i only need longer session for just one page ....

    please advise
    LVL 8

    Accepted Solution


    Session.TimeOut = 60

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video discusses moving either the default database or any database to a new volume.

    759 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