RE: Sessions expire too soon

From: David Coe, MCAD (DavidCoeMCAD_at_discussions.microsoft.com)
Date: 06/24/04

  • Next message: Cesar Saucedo: "Getting "A potentially Dangerous Request.Cookies Value" error"
    Date: Thu, 24 Jun 2004 11:43:02 -0700
    
    

    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
    >
    >
    >


  • Next message: Cesar Saucedo: "Getting "A potentially Dangerous Request.Cookies Value" error"

    Relevant Pages

    • Re: Window Computer Locks
      ... We have disabled the server timeout and most sessions work fine with it. ... time period AND that there is no group policy affecting the PC that would ... Go to Administrative Tools -> Terminal Services Configuration. ...
      (microsoft.public.windows.server.security)
    • Re: Simple Session Timeout for 60 minutes
      ... Note that tripling the Timeout for Sessions is going to increase memory use ... Timeout value) is the wrong solution to a problem you haven't mentioned. ... I'm not sure what IIS sessions are. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Window Computer Locks
      ... services terminating sessions after periods of inactivity. ... The session is locking. ... have tried and it does not appear to be these that are causing the timeout. ...
      (microsoft.public.windows.server.security)
    • Re: RD, logging back in loads new desktop instead of old session
      ... timeout really high, ... Just odd that it used to work ... running server 2003. ... Under 'Sessions' check the timeouts for disconnected sessions, ...
      (microsoft.public.windows.terminal_services)
    • Re: Need to keep client from being logged out at timeout.
      ... I don't come to forums but as a last resort after trying everything ... within reason including what you said to do to no avail. ... really shouldn't be using sessions at all. ... not just as a result of a timeout. ...
      (microsoft.public.dotnet.framework.aspnet)