OPINION
You have several options, of which the session is not the one I would recommend. Just using a posting form would be preferable only because of all the potential overhead with sessions in general. Most of them, as a rule, want to use them to store login data for a user registered on the site.
Not a classic asp, but good to know in all future endeavors with Sessions http://www.aspnet101.com/2010/10/asp-net-session-state-best-practices/
Reply http://www.w3schools.com/ASP/asp_sessions.asp
//adding values to a session CSV //Yes I know these are not vbscript comments //but I cant use vb comments Session("someString") = "Value1,Value2,Value3" //Retrieving a value from a session Dim valsArr = Split(Session("someString"),",") //returning all content in a session object dim i For Each i in Session.Contents Response.Write(i & " ") Next
//adding values to a session CSV //Yes I know these are not vbscript comments //but I cant use vb comments Session("someString") = "Value1,Value2,Value3" //Retrieving a value from a session Dim valsArr = Split(Session("someString"),",") //returning all content in a session object dim i For Each i in Session.Contents Response.Write(i & " ") Next
Terrance
source share