Web.config中sessionState中的stateConnectionString有什么用?

发布于 2024-08-09 02:08:21 字数 184 浏览 4 评论 0原文

我正在使用 VS 2005 作为 Web 表单。

查看 web.config 我看到一个 stateConnectionString 属性。

  • 这真的有必要吗?
  • 什么时候需要这个?
  • 这是如何使用的?

I'm using VS 2005 for web forms.

Looking at the web.config I see a stateConnectionString attribute.

  • Is this really needed?
  • When is this needed?
  • How is this used?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

画骨成沙 2024-08-16 02:08:21

您的意思是 sqlConnectionString 属性吗?如果这样做,那么如果您将状态服务器模式设置为 SqlServer 以在网络场场景中使用,则会使用它。它是运行会话状态存储的 Sql Server 的盒子。

Do you mean sqlConnectionString attribute? If you do then it is used if you set the state server mode to SqlServer for usage in a web farm scenario. It is the box running the Sql Server for the session state store.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文