Product Home Page | Developer Site | Version | |
The following code includes members of the Application.Contents collection:
<%
Set Application("objFso") = Server.CreateObject("Scripting.FileSystemObject")
Application("strHello") = "Hello"
Application("Start_Time") = CStr(Now)
%>
The following code removes the second item in the collection ("strHello
") using an integer.
<%
Application.Contents.Remove(2)
%>
The following code removes the second item in the collection ("strHello"
) using the variable name.
<%
Application.Contents.Remove("strHello")
%>
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.