2011年5月12日
摘要: if (context.Response.Cookies["abcc"] != null) { context.Response.Cookies.Remove("abc"); }上面的那个cookie 永远都不会返回null,, 随便写个key都可以返回对象,只是value="".有待研究。 阅读全文
posted @ 2011-05-12 12:27 myuser 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Could not load file or assembly or one of its dependencies. Access is denied.<httpModules> <!--ajax异步调用组件--> <add name="NonstaticPageMethodModule" type="NonstaticPageMethod.PageMethodModule, NonstaticPageMethod"/> <add name="ScriptModule" type=" 阅读全文
posted @ 2011-05-12 12:24 myuser 阅读(562) 评论(0) 推荐(0) 编辑
  2011年4月24日
摘要: 转贴http://www.jb51.net/article/21339.htm首先出个题:如图:假设对成长速度显示规定如下:成长速度为5显示1个箭头;成长速度为10显示2个箭头;成长速度为12显示3个箭头;成长速度为15显示4个箭头;其他都显示都显示0各箭头。用代码怎么实现?var add_level = (add_step==5 && 1) || (add_step==10 && 2) || (add_step==12 && 3) || (add_step==15 && 4) || 0;------在js逻辑运算中,0、&quo 阅读全文
posted @ 2011-04-24 19:02 myuser 阅读(1032) 评论(0) 推荐(0) 编辑
  2011年4月8日
摘要: 1. iis权限设置 web目录Network Service用户添加2. iis7中才可以指定时间回收进程。iis6的回收还有待测试 阅读全文
posted @ 2011-04-08 17:12 myuser 阅读(119) 评论(0) 推荐(0) 编辑
  2011年3月17日
摘要: System.Web.UI.Page 阅读全文
posted @ 2011-03-17 12:40 myuser 阅读(106) 评论(0) 推荐(0) 编辑
  2010年10月22日
摘要: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0<asp:ScriptManager ID="ScriptManager1" EnableScriptLocalization="True" EnablePartialRendering="false&q 阅读全文
posted @ 2010-10-22 17:23 myuser 阅读(325) 评论(0) 推荐(0) 编辑
  2010年10月12日
摘要: Resource interpreted as image but transferred with MIME type text/plain.64位2008部署后访问站点,看不到资源文件。查到原来在web服务的角色中没有勾选静态内容,装了就ok了 阅读全文
posted @ 2010-10-12 19:48 myuser 阅读(592) 评论(2) 推荐(1) 编辑
  2010年9月14日
摘要: 网上有人说是权限的问题。试了下不行,重新建了个应用程序池就可以了,开始用的一个共用应用程序池classic。 阅读全文
posted @ 2010-09-14 17:07 myuser 阅读(2264) 评论(2) 推荐(1) 编辑
  2010年8月22日
摘要: reflector想看更底层的就用vs自带的ildasm 阅读全文
posted @ 2010-08-22 23:35 myuser 阅读(93) 评论(0) 推荐(0) 编辑
  2010年8月18日
摘要: 1.<mx:Image source="@Embed('assets/dairy_milk.jpg')" scaleContent="true"mouseOver="this.currentState='expanded'"mouseOut="this.currentState=''"/> @Embed 资源文件直接包含到swf中去。2.视图状态中,添加一些元素。 <mx:Sta... 阅读全文
posted @ 2010-08-18 01:15 myuser 阅读(214) 评论(0) 推荐(0) 编辑