日期:2014-05-18  浏览次数:20447 次

ASP.NET2.0怎样在Web.Config中设置Session的相关值
ASP.NET2.0怎样在Web.Config中设置Session的相关值,比如保留时间等。

------解决方案--------------------
<sessionState mode= "StateServer " stateConnectionString= "tcpip=127.0.0.1:42424 " sqlConnectionString= "data source=.;user id=sa;password= " cookieless= "false " timeout= "120 " regenerateExpiredSessionId= "true "/>