Author: ramll | Posted on: 5/20/2010 11:35:21 AM | Views : 293

protected void Application_Error(Object sender, EventArgs e)
        {
            //this is when they type an incorrect url but still hit our site
            Exception Ex = Server.GetLastError().GetBaseException();
            if (Ex.GetType().Name.Equals("HttpException"))
            {
                Response.Redirect("~/Welcome.aspx");
            }
            else
            {        &n ...

Go to the complete details ...