Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing values between pages

Status
Not open for further replies.

malladisk

Programmer
Jun 14, 2001
69
US
Hi!
How do you pass a value between pages? I tried to do this:
<a href=nextpage.asp?variable=value>next page</a> and retrieve it in the next page using Request(&quot;variable&quot;) but it doesn't work.
Thanks,
Sashi
 
Sashi,

You sjould have Request.QueryString(&quot;variable&quot;) on
your next page.

But you can also pass values between pages using Session object:

on page1:

Set Session(&quot;var1&quot;) = var1


on page2:

var1 = Session(&quot;var1&quot;)

Hope this helps <Dmitriy>
dbrom@crosswinds.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top