|
 |
asp_databases thread: Re: Passing variables
Message #1 by Mark Eckeard <meckeard2000@y...> on Wed, 17 Apr 2002 05:11:08 -0700 (PDT)
|
|
Yes. Store the value in a hidden text box and when
you go to the following page, request it.
Or you could set a cookie or session variable.
--- Vic <vweston@m...> wrote:
> Page one includes this:
> <a href="people1.asp?ID=PEDI">EDIT</a>
>
> Page two collects the variable and calls it this:
> Type = Request.querystring("ID")
>
> Can anyone please tell me how I pass this value to a
> third page? Do I need
> to use a hidden field?
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
Message #2 by "David Jeyathilak" <david@i...> on Wed, 17 Apr 2002 16:56:19 +0530
|
|
Hi,
There are lot of solutions for this query. Other members can add the rest.
> Can anyone please tell me how I pass this value to a third page? Do I need
> to use a hidden field?
#1) Yes, You can use Hidden values ..
Ex: <form action="people2.asp?" method="post">
<input type="hidden" name="ID" value="<%= Type %>">
</form>
#2) Pass the value "Type" again through Query String.
Ex: <form action="people2.asp?ID=<%= Type %>" method="post">
#3) Use Sessions
#4) Use cookies
.
.
.
etc
etc
HTH,
David
----- Original Message -----
From: "Vic" <vweston@m...>
To: "ASP Databases" <asp_databases@p...>
Sent: Wednesday, April 17, 2002 12:16 PM
Subject: [asp_databases] Passing variables
> Page one includes this:
> <a href="people1.asp?ID=PEDI">EDIT</a>
>
> Page two collects the variable and calls it this:
> Type = Request.querystring("ID")
>
> Can anyone please tell me how I pass this value to a third page? Do I need
> to use a hidden field?
>
Message #3 by "Vic" <vweston@m...> on Wed, 17 Apr 2002 12:16:14
|
|
Page one includes this:
<a href="people1.asp?ID=PEDI">EDIT</a>
Page two collects the variable and calls it this:
Type = Request.querystring("ID")
Can anyone please tell me how I pass this value to a third page? Do I need
to use a hidden field?
|
|
 |