In C# I can use the statement below to add a new session value to session contents like so:
Code
Session.Add("hello", "me");How do I code this same statement above in VBScript?
It is vbscript server code for the classic asp website I am helping to fix.
Please help. Thank you.


Vinay SinghRank #604 · 4K reputationPosted Jul 12, 2016, 12:48 AM EDT
Session("username")="Donald Duck"
Session("age")=50
%>
This is the text version of the page
<%Else%>
This is the multimedia version of the page
<%End If%>