我在login.aspx 中的登陆按钮中调用
response.redirect("/webapp/main.aspx")
页面变成空白,地址栏中的内容没有变化,仍然是 http://localhost/webapp/login.aspx我在别的页面里面用 response.redirect 是没有问题的。
response.redirect("/webapp/main.aspx")
页面变成空白,地址栏中的内容没有变化,仍然是 http://localhost/webapp/login.aspx我在别的页面里面用 response.redirect 是没有问题的。
如下:
Response.Redirect("GOGG04.aspx");
后来我就改为Server.Transfer如:
Server.Transfer("GOGG04.aspx") ;
你试试看!
断点调试过了没
default.aspx加response.redirect("/webapp/main.aspx")
谢谢各位了,