2011-05-06 44 views

回答

8

Global.asax事件Application_BeginRequest每次發生頁面請求時觸發。

3

我想你正在尋找的是Application_BeginRequest事件:

燃燒時收到一個應用程序請求。這是針對請求觸發的第一個事件,通常是用戶輸入的頁面請求(URL)。

欲瞭解更多活動信息,對這篇文章一看 Working with the ASP.NET Global.asax file

相關問題