What is the code required to redirect the browser to a new page with an ASPX page?
I have tried this on my page default.aspx :
<% Response.Redirect("new.aspx", true); %>
or
<%@ Response.Redirect("new.aspx", true); %>
And these resulted in a server error that is undetermined. I cannot see the error code; because the server is not in my control and the errors are not public.
Please provide all necessary code from line 1 of the page to the end, and I would really appreciate it.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…