Hi,
I have published the MVC application on iis without SSL. My sessions are cleared automatically. It is working fine in the local machine.
Thanks in advance
Hi,
I have published the MVC application on iis without SSL. My sessions are cleared automatically. It is working fine in the local machine.
Thanks in advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ravinder SharmaPosted Jul 21, 2021, 12:46 AM
Number of things can cause session disappear. like:
You update your web.config or other file type that causes your AppDomain to recycle, Your AppPool in IIS, recycles and If you are using IIS 7 or 7.5, here are a few things to look for: By default, IIS sets AppPools to recycle every 1740 minutes, check out the "Advanced Settings" of your AppPool, check the "Recycling" settings of your AppPool, or Check your web.config, maybe you have this tag If it so, remove it.
This may help you.
Thanks