摘要:
//retrieve cookies by cookies nameHttpCookie _userInfoCookies = Request.Cookies["UserInfo"];string userName;//Check cookiesif (_userInfoCookies != null){ userName = _userInfoCookies["UserName"];} 阅读全文
摘要:
Application object is used to store data which is visible across entire application and shared across multiple user sessions. For example:Application.Lock();Application["mydata"]="mydata";Application.... 阅读全文
摘要:
Query strings are usually used to send information from one page to another page.Example The following string might be sent:http://www.aspx?name=John&age=30 this results in the following QUERY_STR... 阅读全文
摘要:
Hidden fields are used to store data at the page levelprotected System.Web.UI.HtmlControls.HtmlInputHidden Hidden1;//to assign a value to Hidden fieldHidden1.Value="Create hidden fields";//to retrieve... 阅读全文