摘要: Configuring Session State You can configure session state through the element in the web.config file for your application. Here’s a snapshot of all the available settings you can use: sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" stateNetworkTimeout="10" sqlConnectionString="data source=127.0.0.1;Integrated Securi 阅读全文
posted @ 2008-03-27 22:38 陋室 阅读(498) 评论(0) 推荐(0) 编辑
摘要: Some times, we want to pass values from one page to another page. There are many ways by which we can do this like: by using query string, or session variable, or Server.Transer etc. Web Forms pages are classes in your application, and as such, you can create properties for them as you would any class. However, Web Forms pages have a very short lifetime, since they effectively exist only long enough to perform page processing. Properties on a Web Forms page therefore have limited use, s 阅读全文
posted @ 2008-03-27 09:36 陋室 阅读(279) 评论(0) 推荐(0) 编辑