我知道Global.asax
具有在特定時間針對應用程序觸發的事件。但我需要一個event
,每次應用程序收到請求時都會觸發。每次在ASP.NET中觸發哪個事件
4
A
回答
8
在Global.asax
事件Application_BeginRequest
每次發生頁面請求時觸發。
3
我想你正在尋找的是Application_BeginRequest
事件:
燃燒時收到一個應用程序請求。這是針對請求觸發的第一個事件,通常是用戶輸入的頁面請求(URL)。
欲瞭解更多活動信息,對這篇文章一看 Working with the ASP.NET Global.asax file
相關問題
- 1. Application.Idle事件觸發每次
- 2. ASP.NET如何知道在回發期間觸發哪個事件?
- 3. 每次ng-click觸發事件
- 4. 在每個循環Click事件觸發多次
- 5. 組合框更改事件每次都在Excel中觸發VBA
- 6. 在jquery中點擊事件每秒觸發X次
- 7. 在表中觸發兩次事件
- 8. 在Android中兩次觸發事件
- 9. 在UpdatePanel中多次觸發pageLoad事件
- 10. jQuery觸發器事件觸發多次
- 11. 觸發事件黑莓觸發多次
- 12. ASP.NET Click()事件在第二次回發時不會觸發
- 13. onmenuitemclick事件不在IE6中觸發ASP.NET
- 14. 使用javascript在asp.net中觸發事件
- 15. 在ASP.NET DetailView中選擇一個項目時會觸發哪個事件?
- 16. Pimcore第一次產品保存時會觸發哪個事件?
- 17. 如何在第一次自動觸發事件後觸發第二個事件
- 18. 哪個事件觸發回調函數
- 19. Winforms:哪個事件觸發? combobox.selectedindexchanged OR bindingsource.currentchanged
- 20. 觸發事件,每次一個新方法被稱爲
- 21. 每次樹迭代觸發一個事件
- 22. Selectionchanged事件觸發每行
- 23. JavaScript事件觸發兩次
- 24. jQuery事件觸發兩次
- 25. JSlider事件觸發兩次
- 26. 觸發兩次的事件
- 27. ViewModel事件多次觸發
- 28. 事件觸發多次
- 29. Nodejs事件觸發多次
- 30. PreviewKeyDown事件觸發兩次