|
Imports System.Web
Imports System.Web.SessionState
Public Class Global
Inherits System.Web.HttpApplication
Protected Shared ReadOnly Log As log4net.ILog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)
Public Sub New()
MyBase.New()
End Sub
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Log.Info("Application_Start...")
End Sub
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
Log.Info("Session_Start: " & Session.SessionID)
End Sub
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Log.Debug("Application_BeginRequest: " & Request.Url.ToString)
End Sub
End Class
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.