0

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 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

<httpRuntime maxRequestLength="102400" executionTimeout="3600"/></httpRuntime>.

2 Comments

I had <httpRuntime maxRequestLength="8096" /></httpRuntime>. Now changed.I'am trying.I will write with results.Thank you
Could you please explain the issue in detail that you were facing while logging .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.