Session timeout after some seconds in Umbraco

断了今生、忘了曾经 提交于 2019-12-05 18:00:42

I just experienced the exact same symptoms. A site ran just fine locally, using IIS Express, worked fine when deployed to Azure WebSites, but when I ran on a Windows Shared Hosting environment, the back office session would timeout somewhere between a couple seconds and a couple minutes.

I'd get a pop-up authentication window often but not always on the GetRemainingTimeoutSeconds url.

I filed a ticket, and the provider was able to replicate the issue. They said the site was running in full trust.

After enabling 32 bit application support - the issue is resolved.

syed Ahsan Jaffri

Thanks to everyone, especially to @Morten Oc who commented.

It's properly something on the hosting. Have you tried other Umbraco installations on hosterpk? Also, try to set the login time (in webconfig) to 0.

I found out a solution that it was due to hosting environment (permissions), I deployed on client's hosting and it works perfectly.

Additionally if you do not have full trust hosting then it would not be able to maintain its session, you would have to configure session to managed in database.

For more info how to configure please refer to this post:

https://www.saotn.org/configure-sqlserver-sessionstate-for-umbraco/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!