Generally speaking you can pass variables from page to page by:
1) Posting form fields from one page to the next (or to the same page)
and on the page to retrieve the value strLName = Request.Form("LName")
2) Using a querystring such as Response.Redirect
"login.asp?lname=smith&fname=tom" and on the page to retrieve the values
strLName = Request.QueryString("lname") and strFName =
Request.QueryString("fname")
3) Using session variables such as Session("LName") = "Smith" and on the
page to retrieve the value strLName = Session("LName")
4) Using cookie variables such as Cookie("LName") = "Smith" and on the
page to retrieve the value strLName = Cookie("LName")
5) Storing data in a database on one page and then retrieving it from
the database on the other page.
Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample
<<
I have a problem,
I can display some text 5 times using a loop
and i want to pass those printed
values to another page when i clicked send button.if you know the method
please
email me.
thank you.