How to Increase Time Timeout webForm

Asked

Viewed 1,142 times

0

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

Asp.Net Authentication Aspnet Identity

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

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>

1

Tried to reset the IIS?

On IIS, the/website application has a Session State setting tbm. See if it’s picking up your settings.

If this doesn’t even work, try changing Session.Timeout by code at the beginning of the request processing.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.