本文介绍了会话状态给出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我将
<sessionstate mode="Inproc" timeout="2"></sessionstate>写入web.config文件时,它显示无法识别的会话状态错误.
into web.config file then it is showing unrecognized session state error.
推荐答案我认为属性区分大小写的问题尝试使用以下方式,sessionState mode ="InProc" timeout ="20".希望能解决问题. 如果仍然遇到问题,请使用示例应用程序,然后默认显示一些属性,例如sessionstate和all.尝试从那里复制它. I think the problem with the property case sensitive try to use the following way, sessionState mode="InProc" timeout="20". Hope it will solve the problem. If you are still facing the problem then take a sample application then it default display some of the properties like sessionstate and all. Try to copy it from there.
msdn.microsoft/en-us/library/system.web.sessionstate.httpsessionstate.timeout.aspx [ ^ ] msdn.microsoft/en-us/library/h6bb9cz9%28v = vs.71%29.aspx [ ^ ] msdn.microsoft/en-us/library/system.web.sessionstate.httpsessionstate.timeout.aspx[^] msdn.microsoft/en-us/library/h6bb9cz9%28v=vs.71%29.aspx[^]
更多推荐
会话状态给出错误
发布评论