VBScript?
. . VB, VBScript . VBS, . Scripting.Dictionary, .
For Each, x, ?
For Each . . ( , for-each, , .)
Dim key, val
For Each key In Session.Contents
val = Session(key)
Response.Write Server.HtmlEncode(key) & " = " & Server.HtmlEncode(val) & "<br>"
Next
?
Session("FirstName")
Session Contents. Item.
- , , , .
:
Session("FirstName") = "Foo"
Response.Write( Session("FirstName") & "<br>" )
Session.Contents("FirstName") = "Bar"
Response.Write( Session.Contents("FirstName") & "<br>" )
Session.Contents.Item("FirstName") = "Baz"
Response.Write( Session.Contents.Item("FirstName") & "<br>" )
- , , - . Session.Contents , . , .
?
Microsoft , VB 6.0, , . - Office VBA.
IIS, ASP. : ASP.