[thelist] ASP: Shopping Cart Theory

Feingold Josh S Josh.S.Feingold at irs.gov
Mon Jul 8 13:31:01 CDT 2002


--
[ Picked text/plain from multipart/alternative ]
> However, session variables that are created and
> referenced on the same page will work fine."

Ken -

Your quote peaked my interest.  Here is their example.

<%
  Session("Message") = "Hello, World!"
  Response.Write Session("Message")
%>

I don't understand why you would want to use a session variable in this
case, just set a variable like this:

<%
  variable = "Hello, World!"
  Response.Write variable
%>

What am I missing?

Josh



More information about the thelist mailing list