简体   繁体   English

Azure网站登台,缓存和会话

[英]Azure websites staging, caching and sessions

We have our .NET website on Azure websites and have just enabled staging. 我们在Azure网站上拥有.NET网站,并且刚刚启用了暂存。 For our session state we are using the Azure Cache preview. 对于我们的会话状态,我们正在使用Azure缓存预览。 My question is will having my site on a staging environment and a production environment have any effect on the sessions, ie Could I ever get duplicate sessions between the two sites? 我的问题是,将我的站点放在登台环境和生产环境上会对会话产生任何影响,即,我能在两个站点之间获得重复的会话吗?

Thanks 谢谢

I believe that it will not duplicate. 我相信它不会重复。 But if you'll need, you can share cached objects between cloud services. 但是,如果需要,您可以在云服务之间共享缓存的对象。

http://msdn.microsoft.com/en-us/library/windowsazure/gg278356.aspx http://msdn.microsoft.com/zh-CN/library/windowsazure/gg278356.aspx

http://msdn.microsoft.com/en-us/library/windowsazure/hh914133.aspx http://msdn.microsoft.com/zh-CN/library/windowsazure/hh914133.aspx

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

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