Increasing Timeout of an Asp.net Session from Web.Config

Discussion in 'MCAD' started by Horsy, Feb 18, 2005.

  1. Horsy

    Horsy Guest

    Hello

    Is it possible to increase the timeout of an Asp.net Session from the
    Web.config ?
    This will spare the need of recompiling and redeploying the application

    Thank you
     
    Horsy, Feb 18, 2005
    #1
    1. Advertisements

  2. Horsy

    Joe Guest

    Here is a link to MSDN with configuration info regarding
    sessionState in the web.config file:

    http://msdn.microsoft.com/library/default.asp?
    url=/library/en-
    us/cpgenref/html/gngrfsessionstatesection.asp

    Hope this helps.

    --Joe
     
    Joe, Feb 18, 2005
    #2
    1. Advertisements

  3. Horsy

    MALU Guest

    Hi, in your web.config file set the timeout option to say
    60. (default is 20min). Note that the longer your
    timeout is, the more resources you consume.
     
    MALU, Feb 20, 2005
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.