简体   繁体   English

umbraco cms中的会话状态?

[英]session state in umbraco cms?

I am currently working with the umbraco cms. 我目前正在与umbraco cms合作。 I notice in the web.config references to session state. 我在web.config中注意到对会话状态的引用。

My site will be on a web farm without a state server. 我的站点将位于没有状态服务器的Web场中。 Is umbraco reliant on session state? umbraco依赖会话状态吗? And if so, is it needed for content authoring or is it needed for content serving? 如果是这样,那么内容创作需要它还是内容服务需要它?

The front end doesn't use any session variables at all unless you code it to do so, so that should be OK for the content serving side of things. 前端根本不使用任何会话变量,除非您对其进行编码,因此对于内容服务方面来说应该没问题。

I'm not 100% on the back office, but I THINK it's all done with cookies, rather than sessions. 我不是100%在后台工作,但我认为这都是通过Cookie而非会话完成的。 The easiest way to check would be to disable sessions in the web.config file and try and use the back office. 最简单的检查方法是禁用web.config文件中的会话并尝试使用后台。 If it works, you're OK, otherwise it does need the session to work for content editing. 如果可以,则没问题,否则它确实需要会话才能进行内容编辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM