Message in Chinese (Simplified) (中文(简体))
只有在配置文件或 Page 指令中将 enableSessionState 设置为 true 时,才能使用会话状态。还请确保在应用程序配置的 <configuration>\<system.web>\<httpmodules> 节中包括 System.Web.SessionStateMod 或自定义会话状态模块。</httpmodules></system.web></configuration>
Unlocalized message
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpmodules> section in the application configuration.</httpmodules></system.web></configuration>
Search by Google