
<script language="VB" runat="server">

    Sub Application_Start(Sender As Object, E As EventArgs)
        ' 应用程序的启动时的代码
        
    End Sub

    Sub Application_End(Sender As Object, E As EventArgs)
        ' 清理应用程序的资源
    End Sub

    Sub Session_Start(Sender As Object, E As EventArgs)
        Response.Write("Session Start Fired...<br>")
    End Sub

    Sub Session_End(Sender As Object, E As EventArgs)
        '清理 session 资源
        
    End Sub

    Sub Application_BeginRequest(Sender As Object, E As EventArgs)
        Response.Write("<h3> Global.asax 实例</h3>")
        Response.Write("开始执行请求..<br>")
    End Sub

    Sub Application_EndRequest(Sender As Object, E As EventArgs)
        Response.Write("翻译Session...<br>")
    End Sub

</script>



