标签:style blog http color os 使用 io ar for
/// <summary> /// 手动完成页面的Cookie里的sessionid传送到后台 目前就配合uploadify 由于它flash丢失sessionid /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Application_BeginRequest(object sender, EventArgs e) { //flash 上传组件Session 值恢复 //‘scriptData‘: { ‘ASPSESSID‘: ‘@Session.SessionID‘ } try { string session_param_name = "ASPSESSID"; string session_cookie_name = "ASP.NET_SessionId"; if (HttpContext.Current.Request.Form[session_param_name] != null) { UpdateCookie(session_cookie_name, HttpContext.Current.Request.Form[session_param_name]); } else if (HttpContext.Current.Request.QueryString[session_param_name] != null) { UpdateCookie(session_cookie_name, HttpContext.Current.Request.QueryString[session_param_name]); } } catch (Exception ex) { ; } } void UpdateCookie(string cookie_name, string cookie_value) { HttpCookie cookie = HttpContext.Current.Request.Cookies.Get(cookie_name); if (cookie == null) { cookie = new HttpCookie(cookie_name); HttpContext.Current.Request.Cookies.Add(cookie); } cookie.Value = cookie_value; HttpContext.Current.Request.Cookies.Set(cookie); }
.selectTdClass { background-color: #edf5fa !important; } table.noBorderTable td, table.noBorderTable th, table.noBorderTable caption { border: 1px dashed #ddd !important; } table { margin-bottom: 10px; border-collapse: collapse; display: table; } td, th { padding: 5px 10px; border: 1px solid #DDD; } caption { border: 1px dashed #DDD; border-bottom: 0; padding: 3px; text-align: center; } th { border-top: 1px solid #BBB; background-color: #F7F7F7; } table tr.firstRow th { border-top-width: 2px; } .ue-table-interlace-color-single { background-color: #fcfcfc; } .ue-table-interlace-color-double { background-color: #f7faff; } td p { margin: 0; padding: 0; }
标签:style blog http color os 使用 io ar for
原文地址:http://www.cnblogs.com/helihui123/p/3947367.html