| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Mail Enable/Bin/NETProtocol/ |
Upload File : |
<%@ Application Language="VB" %>
<%@ Import Namespace="System.Diagnostics" %>
<script RunAt="server">
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Try
MailEnable.Web.IIS.IISDebugWriter.WriteDebugString("application startup")
MailEnable.Web.IIS.MEIISModule.ME_Init()
AddHandler AppDomain.CurrentDomain.DomainUnload, AddressOf Unload_EventHandler
AddHandler AppDomain.CurrentDomain.ProcessExit, AddressOf Unload_EventHandler
Catch ex As Exception
EventLog.WriteEntry("MailEnable", "Exception in Application_Start: " & ex.Message)
End Try
End Sub
Sub Unload_EventHandler(ByVal sender As Object, ByVal e As EventArgs)
MailEnable.Web.IIS.IISDebugWriter.WriteDebugString("application domain/process shutdown")
MailEnable.Web.IIS.MEIISModule.ResetUsageCount()
MailEnable.Web.IIS.MEIISModule.ME_UnInit() ' Should only happen when the surrogate process/w3wp app pool instance/domain is shutdown
End Sub
Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application shutdown
MailEnable.Web.IIS.IISDebugWriter.WriteDebugString("application shutdown")
MailEnable.Web.IIS.MEIISModule.ME_UnInit() ' Is usage counted, so we should only dispose when count is 0
End Sub
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when an unhandled error occurs
End Sub
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a new session is started
End Sub
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
End Sub
</script>