/*HttpContext.Current.Response.Cookies.Add(new HttpCookie("userid", userid));
HttpContext.Current.Response.Cookies.Add(new HttpCookie("username", HttpUtility.UrlEncode(name)));
HttpContext.Current.Response.Redirect(HttpContext.Current.Session["history"].ToString());*/这个是我注释掉的语句。
但是程序还是照样走,我调试时,他一直对这里报错
好郁闷啊,有没高手指点下,第一次碰到。。
还是要走注释的话
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\找到你的应用程序名,打开,删除里面的所有文件即可。注意我给的路径中的版本号,选你使用的对应的。
快换2。0吧,没这种傻问题。
影子复制有个好处,就是你可以研究页面编译生成的类,搞清楚页面运行的过程,学习可能有帮助。C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\dj\739a39552.0我不知道他把这些东西放哪儿去了。
很多dll复制到Temporary ASP.NET Files可能会失败。这两个问题经常是伴随发生的,唉,只能说一声珍重。
1和2
里面的dll是一样的,而且数量也没错
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\training\150252a8\_shadow\92209042\bin
我在VSS里把用到的DLL都删除了
再引用一下就好了。。
谢谢大家的踊跃帮助。。
*HttpContext.Current.Response.Cookies.Add(new HttpCookie("username", HttpUtility.UrlEncode
*(name)));
*HttpContext.Current.Response.Redirect(HttpContext.Current.Session["history"].ToString());*/
难道要
#ifdef 0
#endif ?