skip to Main Content

I have this codes in

 <authentication mode="Forms">
  <forms loginUrl="/Login" timeout="180" name="__Auth"     slidingExpiration="true" />
</authentication>

And Plesk panel Session settings are as below :
Authentication mode : Forms
Sesion Timeout(minutes) : 180
And this settings automatically adding a line to web.config aas below:

 <sessionState timeout="180" />

Everything seems good.
But session ends too early (about 10 min)
I could not find reason.

2

Answers


  1. Please include following code in your web.config file and try.

    <httpRuntime maxRequestLength="102400" executionTimeout="3600"/></httpRuntime>.
    
    Login or Signup to reply.
  2. Please include following code in web config in your application.

      <session State timeout="30" mode="In-proc" />
    

    and also check time in

    But you remove space in between session state and remove – in In-proc…

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search