会话状态给出错误

编程入门 行业动态 更新时间:2024-10-22 23:32:28
本文介绍了会话状态给出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我将

<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[^]

更多推荐

会话状态给出错误

本文发布于:2023-10-28 01:15:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1535070.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:状态   错误

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!