Send to a standard page if incorrect page access

        If Not IsPostBack Then
            If PreviousPage Is Nothing Then
                Response.Redirect(“default.aspx”)
            End If
        End If

Leave a Reply

Your email address will not be published. Required fields are marked *