Solved

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

Posted on 1999-01-25
2
146 Views
Last Modified: 2010-04-09
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.
0
Comment
Question by:chikki
2 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 20 total points
ID: 1845650
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
 

Author Comment

by:chikki
ID: 1845651
Thank you. You saved me from a lot of hit and trial.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bootstap Icons 3 40
Bootstrap input box width 2 33
html form to write data to csv 24 95
Tableau and Javascript: How to export an array to excel with formatting 11 57
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now