在CS中执行 System.Web.HttpContext.Current.ApplicationInstance.Response.Redirect(“aa.aspx”)
总是报错:
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse)
at System.Web.HttpResponse.Redirect(String url)
at grioa.tempLogin.SettingSession() in d:\zzoa\templogin.cs:line 100
总是报错:
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse)
at System.Web.HttpResponse.Redirect(String url)
at grioa.tempLogin.SettingSession() in d:\zzoa\templogin.cs:line 100
解决方案 »
- asp.net如何获取用js执行返回的代码
- 关于ASP.NET JS做比较的问题
- 下拉框不可用(服务端)
- Page_Load事件下弹出对话框为什么会失效?
- 求一SQL语句,请高手多多帮忙.....................................
- 在服务器上总是提示.net runtime错误问题
- 系统弹出提示:无法在 DLL oci.dll 中找到名为 OCIEnvCreate 的入口点。
- 百分问题:怎么样单独缓存页面的一块(包含里面的图片)?ASP.NET如何使用Windows服务?
- 网站不能访问ashx文件的原因有哪些?
- asp的button的click事件怎样作跳转,我想click后转到其他页面?
- 如何引用OCX控件?急!
- 一个自定义控件,里面有一个DIV,其ID值为DivID,并且它有滚动条,想在页面刷新后保存其滚动条位置?
或
Server.Transfer("aa.aspx");
是PAGE。
你在CS中也想用???
一般很少有人在CS这么用