P
Propin
Have a problem with below code in global.asa. Same problem as described in
this news group before, IWAM_machinename did not solve my problem.
Have created the following test code (file is never deleted on my IIS6
Win2003
environment, any idea?):
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
End Sub
Sub Session_OnStart
Set objFileSystemObject = Server.CreateObject("Scripting.FilesystemObject")
objFileSystemObject.CreateTextFile "C:\temp\error\Test.txt", True
Set objFileSystemObject = Nothing
End Sub
Sub Session_OnEnd
Set objFileSystemObject = Server.CreateObject("Scripting.FilesystemObject")
objFileSystemObject.CreateTextFile "C:\temp\error\Test.txt", True
Set objFileSystemObject = Nothing
End Sub
Sub Application_OnEnd
End Sub
</SCRIPT>
/Propin
this news group before, IWAM_machinename did not solve my problem.
Have created the following test code (file is never deleted on my IIS6
Win2003
environment, any idea?):
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
End Sub
Sub Session_OnStart
Set objFileSystemObject = Server.CreateObject("Scripting.FilesystemObject")
objFileSystemObject.CreateTextFile "C:\temp\error\Test.txt", True
Set objFileSystemObject = Nothing
End Sub
Sub Session_OnEnd
Set objFileSystemObject = Server.CreateObject("Scripting.FilesystemObject")
objFileSystemObject.CreateTextFile "C:\temp\error\Test.txt", True
Set objFileSystemObject = Nothing
End Sub
Sub Application_OnEnd
End Sub
</SCRIPT>
/Propin