2010年6月28日
摘要: 1、添加引用:AjaxPro.dll、Microsoft.AjaxCommon.dll。2、web.config中加入:  <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Servic... 阅读全文
posted @ 2010-06-28 17:45 heart-in-sky 阅读(413) 评论(0) 推荐(0) 编辑
摘要: ASP.NET 使用mode=”InProc”方式保存Session老是丢失,无奈改成StateServer 模式。session是工作在你的应用程序进程中的。asp.net进程、iis往往会在20分钟之后重启相关的应用程序,缓冲池满了(例如100个之后)也会重启,各种进程保护措施都会随时重新启动,因此InProc方式丢失session是很正常的事。csdn上明确告诉了这种... 阅读全文
posted @ 2010-06-28 14:23 heart-in-sky 阅读(210) 评论(0) 推荐(0) 编辑