在Share Point 2010中启用会话状态

时间:2011-03-08 12:19:45

标签: sharepoint-2010

我正在尝试为我的Share Point网络启用会话状态。我按照步骤

1)加 < httpModules> < add name =“Session”type =“System.Web.SessionState.SessionStateModule”/>   然后,按照步骤

,将相同的会话状态模块添加到IIS7管理的管道 1.打开IIS 7管理器,找到您的Web应用程序 2.双击IIS部分中的“模块” 3.单击右侧窗格中的“添加托管模块...” 4.在Add Managed Module对话框中,输入“SessionState”或类似名称的内容,然后从下拉列表中选择以下项:System.Web.SessionState.SessionStateModule,System.Web,Version = 2.0.0.0,Culture =中性,PublicKeyToken = b03f5f7f11d50a3a

但我仍然收到错误......

1 个答案:

答案 0 :(得分:0)

也请尝试这些选项。

  • 添加到 配置/ system.webServer /模块 元件。
  • 设置enableSessionState属性 配置/ system.web / pages 要素为真。
  • 添加到 configuration / system.web元素。

    更多详细信息here