Sessions expire too soon

Discussion in 'ASP .Net Security' started by Plamen Doykov, Jun 21, 2004.

  1. Hello
    we have a project with forms authentication and cookieless sessions, and we
    want a big session timeout. However the sessions still expire much more
    often (more than the default 20min, but much less than required) It is
    annoying because the users get redirected to the login screen
    The settings in Web.config are:
    <authentication mode="Forms" >
    <forms loginUrl="default.aspx" timeout="1440" />
    </authentication>
    ....
    <sessionState
    mode="InProc"
    stateConnectionString="tcpip=127.0.0.1:42424"
    sqlConnectionString="data source=127.0.0.1;user id=sa;password="
    cookieless="false"
    timeout="720"
    />
    Is there anything I miss, or nay be another reason that can end the session
    than teh timeout? Thanks

    Regards
    Plamen
    Plamen Doykov, Jun 21, 2004
    #1
    1. Advertising

  2. Connection timeout is set to 900s (15min), but this has nothing to do with
    session timeout.
    However we found the KB324772 in msdn that explains the reason, and started
    using state server; hope it will behave well


    <David Coe>; "MCAD" <> wrote in
    message news:...
    > What is the timeout set to in IIS?
    >
    > "Plamen Doykov" wrote:
    >
    > > Hello
    > > we have a project with forms authentication and cookieless sessions, and

    we
    > > want a big session timeout. However the sessions still expire much more
    > > often (more than the default 20min, but much less than required) It is
    > > annoying because the users get redirected to the login screen
    > > The settings in Web.config are:
    > > <authentication mode="Forms" >
    > > <forms loginUrl="default.aspx" timeout="1440" />
    > > </authentication>
    > > ....
    > > <sessionState
    > > mode="InProc"
    > > stateConnectionString="tcpip=127.0.0.1:42424"
    > > sqlConnectionString="data source=127.0.0.1;user id=sa;password="
    > > cookieless="false"
    > > timeout="720"
    > > />
    > > Is there anything I miss, or nay be another reason that can end the

    session
    > > than teh timeout? Thanks
    > >
    > > Regards
    > > Plamen
    > >
    > >
    > >
    Plamen Doykov, Jun 25, 2004
    #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. James Hunter Ross

    Session times out too soon...

    James Hunter Ross, Oct 13, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    2,953
    JIMCO Software
    Oct 29, 2005
  2. enrique
    Replies:
    8
    Views:
    538
    Kevin McMurtrie
    Apr 29, 2005
  3. Hans
    Replies:
    5
    Views:
    1,363
  4. John Kotuby

    Sessions seem to time out too soon

    John Kotuby, Aug 28, 2008, in forum: ASP .Net
    Replies:
    3
    Views:
    652
    Anthony Jones
    Aug 28, 2008
  5. Tongass Park Neighborhood Association, Juneau Alas

    Cookies expire immediately, not when set to expire

    Tongass Park Neighborhood Association, Juneau Alas, Oct 1, 2009, in forum: ASP General
    Replies:
    2
    Views:
    1,186
    SQLDude
    Nov 24, 2009
Loading...

Share This Page