摘要: 今天在用FCK,在超链接-->上传-->发送到服务器中报Invalid Request错误找了半天才找到,解决如下:I had this problem as well. The problem is that it can't find the type of resource for upload. I assume that it should detect the resource type by file extension, but there is no code to do that.I fixed it by adding the resource typ 阅读全文
posted @ 2011-08-17 22:56 木油 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 今天写了一个购物车类,用Cookie实现,要在构造函数那实现判断浏览器是否支持Cookie。public bool IsAcceptCookie; public ShoppingCart() { System.Web.HttpContext.Current.Response.Cookies["TestCookie"].Value = "ok"; System.Web.HttpContext.Current.Response.Cookies["TestCookie"].Expires = DateTime.Now.AddMinutes( 阅读全文
posted @ 2011-08-17 11:35 木油 阅读(2791) 评论(0) 推荐(0) 编辑