Session value lost in Windows Authentication mode in IIS 10.0

Last Reply 4 months ago By aravindg86

Posted 4 months ago

Even though set the session timeout and IIS apppool ideltime out=540 some times Session data is getting null but most of the times session data is available.

Why some times getting this behavior. I am new to the web application development.

Suggest me how to avoid this issue.

In web.config:

<sessionState cookieless="false" mode="InProc" timeout="540"></sessionState>
<authentication mode="Windows">


Posted 4 months ago

Thanks for your Swift response.

I figure it out the issue. While running the application I tried to access bin/logs files. So, when I open bin file session will be break.