Solved

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

Posted on 1999-01-25
2
168 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

696 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