Passing info from 1st called asp to 4th asp in navigation.

How do I save information entered by the user so that it may be used by other html or asp files called after some indirect navigation (besides hidden fields)?
Can there be some global server variable declared and used , if so how?
I do not want to create a table unnecessarily for that purpose.
Can session object help as that information has to be specific to a user browsing. If so , please give us the code.
chikkiAsked:
Who is Participating?
 
MasseyMConnect With a Mentor Commented:
To set a session variable do this:
<%
Session("AnyVariable") = YouValue
%>

to write it, use this:
<%=Session("AnyVariable")%>

To read from it, use this:
<%
AValue = Session("AnyVariable")
%>
0
 
chikkiAuthor Commented:
Thank you. You saved me from a lot of hit and trial.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.