How do you create a FileSystemObject?
The FileSystemObject Object
The FileSystemObject object is used to access the file system on a server. This object can manipulate directory paths, files, and folders. It is also possible to retrieve file system information with this object.
The following code creates a text file (c:slightbook.txt) and then writes some text to the file:
<%
dim fs,fname
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fname=fs.CreateTextFile("c:slightbook.txt",true)
fname.WriteLine("Hello Slightbook World!")
fname.Close
set fname=nothing
set fs=nothing
%>
ASP comes with a standard component that displays a different advertisement each time a user enters or refreshes a page, what is the name of this component?
Which of these objects is NOT an ASP component?
Global.asa is required for all Web sites
Which one of these events is a standard Global.asa event?
If a user has cookies enabled, a session variable is available to all pages in one application.