Documentation for OpenTextFile() [what are the parameters?]
Posted on 2003-03-30
Got a Global.asa which logs movements between pages and using code like:
Set WriteStream = FileStreamObject.CreateTextFile(DataPath(sFilename),True)
WriteStream.WriteLine("SessionID=" & Session.SessionID)
WriteStream.WriteLine(sEvent & "=" & Now())
WriteStream.WriteLine("KB_VER=" & KB_VER)
but I want to use OpenTextFile() instead so the log file appends new info.
The book said use OpenTextFile("file.log",ForAppending)
but it doesn't work where do I get the value of 'ForAppending' etc.