asp.net 应用程序会监控web.config 文件的更改的。如果该文件被更改,会自动重新编译整个应用程序。所以 session 会丢失。正常现象
如何合理操作找回丢失的session???
SessionState timeout=20 ???
>>如何合理操作找回丢失的session???找不回来了,重来一次!
yes, you shouldn't change web.config, global.asax and anything in bin directory, because anychange like that will cause the web application be reloadedif your need change some configuation from time to time, consider to use your own xml-based configuration instead of web.config
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货