IIS , Web.Config timeout precedence

Discussion in 'ASP .Net' started by sri_san@mailcity.com, Sep 15, 2005.

  1. Guest

    Hello,
    I was unable to find a concrete pointer as to the precedence of
    IIS, Web.config when it comes to timeout. Say, IIS has a timeout value
    set different from that of web.config, which one is considered?

    Besides, could anyone differentiate the timeout attributes between the
    lines marked with astericks?

    <sessionState mode="InProc" cookieless="false" timeout="180"/> **

    <authentication mode="Forms" >
    <!--forms name=".ASPXAUTH" protection="All" timeout="60" /-->
    **
    <!--<forms loginUrl="DesktopDefault.aspx"
    timeout="15"></forms> -->
    </authentication>

    I mean, what is the difference between the 2 timeout attributes?

    Thanks,
    Sam.
    , Sep 15, 2005
    #1
    1. Advertising

  2. Siva M Guest

    Hi,

    WRT the second question: sessionState timout indicates the session timeout
    (duration of user inactivity after which the user session is destroyed).
    authentication timout is the timeout for the cookie used by Forms Auth.

    First question: IIS timeout is for ASP scripts only. For ASP.NET, use
    web.config's timeout.

    HTH

    <> wrote in message
    news:...
    Hello,
    I was unable to find a concrete pointer as to the precedence of
    IIS, Web.config when it comes to timeout. Say, IIS has a timeout value
    set different from that of web.config, which one is considered?

    Besides, could anyone differentiate the timeout attributes between the
    lines marked with astericks?

    <sessionState mode="InProc" cookieless="false" timeout="180"/> **

    <authentication mode="Forms" >
    <!--forms name=".ASPXAUTH" protection="All" timeout="60" /-->
    **
    <!--<forms loginUrl="DesktopDefault.aspx"
    timeout="15"></forms> -->
    </authentication>

    I mean, what is the difference between the 2 timeout attributes?

    Thanks,
    Sam.
    Siva M, Sep 15, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Do
    Replies:
    2
    Views:
    6,347
  2. =?Utf-8?B?bWc=?=

    RE: session timeout in Web.config & IIS

    =?Utf-8?B?bWc=?=, Jul 4, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    499
    =?Utf-8?B?bWc=?=
    Jul 4, 2004
  3. CSharpner
    Replies:
    0
    Views:
    1,000
    CSharpner
    Apr 9, 2007
  4. Replies:
    9
    Views:
    3,893
    Juan T. Llibre
    Apr 23, 2008
  5. Mark Probert

    Timeout::timeout and Socket timeout

    Mark Probert, Oct 6, 2004, in forum: Ruby
    Replies:
    1
    Views:
    1,271
    Brian Candler
    Oct 6, 2004
Loading...

Share This Page