How to Increase webform timeout time

0

How to increase the timeOut time, my session is falling around 5 min, it is not in the connection string.

Asp.Net AspNet Identity Authentication

<sessionState mode="InProc" timeout="20"/>
    <customErrors mode="Off"/>
    <authentication mode="Forms">
      <forms timeout="20" loginUrl="/Acesso/Login.aspx"/>
    </authentication>
    <authorization>
      <deny users="?"/>
    </authorization>
    
asked by anonymous 22.11.2017 / 11:11

2 answers

2

Anderson if you change the value <sessionState timeout="1440"></sessionState> will have 24 hours ... 360 6 hours.

<sessionState mode="InProc" timeout="1440"/>
    <customErrors mode="Off"/>
    <authentication mode="Forms">
    <forms timeout="1440" loginUrl="/Acesso/Login.aspx"/>
    </authentication>
    <authorization>
    <deny users="?"/>
</authorization>
    
27.11.2017 / 12:49
1

Tried to reset IIS?

In IIS, the application / website has a Session State tbm configuration. See if it's picking up your settings.

If this does not even work, try changing the Session.TimeOut by the code at the beginning of the request processing.

    
22.11.2017 / 12:10