会话状态给出错误 [英] sessionstate is giving error

查看:107
本文介绍了会话状态给出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将

<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.


http://msdn.microsoft.com/en-us/library/h6bb9cz9%28v = vs.71%29.aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/system.web.sessionstate.httpsessionstate.timeout.aspx[^]
http://msdn.microsoft.com/en-us/library/h6bb9cz9%28v=vs.71%29.aspx[^]


这篇关于会话状态给出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆