Solved

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

Posted on 1999-01-25
2
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

724 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