0
這是我按一下按鈕子ThreadAbortException
Protected Sub abc_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsavecurrent.Click
Try
If Not Page.IsValid Then Exit Sub
Saveabc()
Response.Redirect("abc.aspx")
Catch exab As Threading.ThreadAbortException
Catch ex As Exception
ReportError(ex, Session, Request)
End Try
End Sub
去的Response.Redirect後,它移動到ThreadAbortException的下一行,犯規轉到了abc.aspx。它只是說會話過期。我如何讓它轉到abc.aspx?