Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.
Private Sub ErrorHandler(ByVal ex As Exception, ByVal strMethod As String) pnlError.Visible = True pnlGUI.Visible = False lblErrorMSG.Text = "<p>An error has occured please try again " If Request.ServerVariables("REMOTE_ADDR") = "IP ADRESS" Then lblErrorMSG.Text += "Error Description: Problem in """ & strMethod & """:<br /> " & ex.Message txtError.Text = txtError.Text & vbCrLf & "StackTrace:" & vbCrLf & ex.StackTrace txtError.Text = txtError.Text & vbCrLf & "Method:" & ex.TargetSite.ToString() txtError.Text = txtError.Text & vbCrLf & "URL: " & Request.RawUrl Else txtError.Visible = False End If End Sub
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
9 Experts available now in Live!