timeout issue

Discussion in 'ASP .Net Security' started by Felix_WafyTech, Apr 8, 2006.

  1. Hello All,

    I've set the timeout as 720 in the web.config file. But the website elapses
    and displays the login screen in about 20 minutes. It doesn't seem to honor
    the setting in the web.config file. I'm wondering what could be going wrong.
    Any help is very much appreciated.

    <system.web>
    <sessionState mode="InProc" cookieless="false" timeout="720"/>

    <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="720">

    <providers>

    <remove name="AspNetSqlProvider"/>

    <add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider"
    connectionStringName="ConnectionString" enablePasswordRetrieval="false"
    enablePasswordReset="true" requiresQuestionAndAnswer="true"
    passwordFormat="Hashed" applicationName="/"/>

    </providers>

    </membership>

    </system.web>

    Thanks,
    Felix.J
     
    Felix_WafyTech, Apr 8, 2006
    #1
    1. Advertising

  2. FormsAuthentication time outs are distinct from session timeouts..

    use the authentication/forms element in web.config to configure forms authentication

    ---------------------------------------
    Dominick Baier - DevelopMentor
    http://www.leastprivilege.com

    > Hello All,
    >
    > I've set the timeout as 720 in the web.config file. But the website
    > elapses and displays the login screen in about 20 minutes. It doesn't
    > seem to honor the setting in the web.config file. I'm wondering what
    > could be going wrong. Any help is very much appreciated.
    >
    > <system.web>
    > <sessionState mode="InProc" cookieless="false" timeout="720"/>
    > <membership defaultProvider="SqlProvider"
    > userIsOnlineTimeWindow="720">
    >
    > <providers>
    >
    > <remove name="AspNetSqlProvider"/>
    >
    > <add name="SqlProvider"
    > type="System.Web.Security.SqlMembershipProvider"
    > connectionStringName="ConnectionString"
    > enablePasswordRetrieval="false" enablePasswordReset="true"
    > requiresQuestionAndAnswer="true" passwordFormat="Hashed"
    > applicationName="/"/>
    >
    > </providers>
    >
    > </membership>
    >
    > </system.web>
    >
    > Thanks,
    > Felix.J
     
    Dominick Baier [DevelopMentor], Apr 9, 2006
    #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. Bob Johnson
    Replies:
    0
    Views:
    3,826
    Bob Johnson
    Aug 7, 2003
  2. Do
    Replies:
    2
    Views:
    6,455
  3. Guoqi Zheng
    Replies:
    4
    Views:
    13,126
    Guoqi Zheng
    Jun 3, 2004
  4. Just D

    IIS timeout, IE timeout or what?

    Just D, Jun 21, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    3,565
    Just D
    Jun 21, 2004
  5. Mark Probert

    Timeout::timeout and Socket timeout

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

Share This Page