Valgrind в соответствии с Linux довольно хорош; у меня нет опыта в соответствии с Windows с этим.
<%@ Page Language="C#" %>
<script runat="server">
protected override void OnLoad(EventArgs e)
{
Response.Redirect("new.aspx");
}
</script>
Вы также можете сделать это просто в html с помощью метатега :
<html>
<head>
<meta http-equiv="refresh" content="0;url=new.aspx" />
</head>
<body>
</body>
</html>
Если вы используете VB, вам нужно опустить точку с запятой:
<% Response.Redirect("new.aspx", true) %>
Even if you don't control the server, you can still see the error messages by adding the following line to the Web.config file in your project (bewlow
):
<customErrors mode="off" />