RE: ASP assistance please...
by "Krimm, Nik" <nik.krimm(at)marchFIRST.com>
|
| Date: |
Mon, 12 Jun 2000 11:06:55 -0500 |
| To: |
"'Geuka Amusa'" <amusa(at)easeinternet.com>, hwg-languages(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
You can do two things Geuka:
1. You can use APS's session variables that will persist for the user's
whole session.
to store:
Session("form_result")=result_to_store
to read:
response.write Session("form_result")
You can see more at:
http://asp.superexpert.com/code/code.asp?cid=96
2. You can use HTML hidden input type to pass the value from page to page
(i.e. <input type="hidden" name="name" value="value">)
Out of the two options, the ASP solution is more powerful, but if you are
just passing a variable from one page to another, then the HTML hidden works
just as well. ASP's session variable benefit is more pronounced when you
have to pass the info over several pages...
Hope this helps
> Nik Krimm
-----Original Message-----
From: Geuka Amusa [mailto:amusa(at)easeinternet.com]
Sent: Monday, June 12, 2000 9:54 AM
To: hwg-languages(at)hwg.org
Subject: ASP assistance please...
Hello All,
I need some ASP help. I have a form that posts to an ASP page. On the ASP
page I am using the following code to grab the value of specific form
fields:
<% If Request.Form("xy") <> "" Then %><B><%= Request.Form("xy") %></B>
<% End If %>
This part works great. Here's the problem. The ASP page contains a form
that submits some of the values that the above ASP code grabbed from the
previous page. How do I include some of the previous page values as hidden
form fields so that they can be submitted by another form?
Thanks
Geuka
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.