摘要: //retrieve cookies by cookies nameHttpCookie _userInfoCookies = Request.Cookies["UserInfo"];string userName;//Check cookiesif (_userInfoCookies != null){ userName = _userInfoCookies["UserName"];} 阅读全文
posted @ 2010-02-18 21:57 greencolor 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 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.... 阅读全文
posted @ 2010-02-18 16:57 greencolor 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2010-02-18 16:54 greencolor 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2010-02-18 16:16 greencolor 阅读(107) 评论(0) 推荐(0) 编辑