if then ステートメントが関係なく起動する理由はありますか:
それは私のPage_loadの中にあります:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim a As New Clicks
If Request.QueryString("u") IsNot Nothing Then
a.Click(Request.QueryString("u"), Request.ServerVariables("REMOTE_ADDR"), Request.ServerVariables("HTTP_USER_AGENT"))
Response.Redirect(urls.GetURL(Request.QueryString("u")))
End If
End Sub
その結果、「u」が存在しない場合、ページの読み込みごとに a.Click のインスタンスが 126 回発生します。
他のページ イベントに移動しようとしましたが、同じ結果になりました