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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravinder SharmaRank #1,211 · 1.5K reputationPosted Jul 20, 2021, 8:46 PM EDT
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