Jump to content

problem with <%@ Language=JavaScript%>


Recommended Posts

Hi,When I put this <%@ Language=JavaScript%> on my code , the following function in ASP does not work. This function is use to write text on text file.How can I fix it?<%sub writeLog(text) Dim objFSO, objFile Set objFSO=Server.CreateObject("Scripting.FileSystemObject") Set objFile=objFSO.OpenTextFile("log.txt", 8, True) objFile.WriteLine(text) objFile.Close Set objFile=Nothing Set objFSO=Nothingend sub%>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...