在一把umbraco几秒钟后,会话超时 [英] Session Timeout after some seconds in umbraco

查看:378
本文介绍了在一把umbraco几秒钟后,会话超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立了一把umbraco的网站7.1.6当我部署到我的虚拟主机空间,我发现它重定向我只是在几秒钟后一次又一次的登录界面的问题,它正在完善中的Visual Studio 2012。我已经设置保持用户登录到真实而增加超时,但没有改善。

I have created an site on Umbraco 7.1.6 it was working perfect in Visual studio 2012 when i deployed it to my hosting space i found an problem that it redirects me to login screen again and again just after some seconds. i have set keep user login to true and increased timeout but no improvement.

当我搜索的问题,我发现了一些链接:

When i searched for that problem i found some links:

https://github.com/一把umbraco /一把umbraco-CMS /比较/释放7.1.6 ...... 7.2.0

http://issues.umbraco.org/issue/U4-3845

https://github.com/Umbraco/Umbraco-CMS/commit/c936aaa51753862914591b753f7f2d7be7749cf7

第一个链接给我提供文件,但我不知道如何更新我目前的网站。

first link provide me file but i do not know how to updated my current site.

任何帮助/提醒将AP preciate,这是迫切

any help/ advise would be appreciate, it's urgent

在控制台中,我得到一个错误。

In console i am getting an error.

GET的http://example.com/umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds 401 angular.min.js:106(匿名函数)angular.min.js:106O angular.min.js:102克angular.min.js:100I angular.min.js:部79i angular.min.js:79 (匿名函数)angular.min.js:80E $ EVAL angular.min.js:。92E $消化angular.min.js:90E $适用angular.min.js:92safeApply umbraco.services.js:58(匿名功能)umbraco.services.js:6773(匿名函数)angular.min.js:108E angular.min.js:31(匿名函数)

GET http://example.com/umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds 401 (Unauthorized) angular.min.js:106(anonymous function) angular.min.js:106o angular.min.js:102g angular.min.js:100i angular.min.js:79i angular.min.js:79(anonymous function) angular.min.js:80e.$eval angular.min.js:92e.$digest angular.min.js:90e.$apply angular.min.js:92safeApply umbraco.services.js:58(anonymous function) umbraco.services.js:6773(anonymous function) angular.min.js:108e angular.min.js:31(anonymous function)

推荐答案

感谢大家特地为 @Morten的Oc 谁评论。

Thanks to everyone specially to @Morten Oc who commented.

它的正确的东西的托管。您是否尝试过在hosterpk其他一把umbraco安装?另外,尽量的登录时间(在webconfig)设置为0。

Its 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 it works perfect.

此外,如果你没有完全信任的托管那就不能够保持它的会话,你就必须配置会话数据库来管理的​​。

additionally if you do not have full trust hosting then it would not be able to maintain it's 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 /

这篇关于在一把umbraco几秒钟后,会话超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆