Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

passing variables

New Here ,
Feb 28, 2007 Feb 28, 2007
i have a fileUpload.asp page that allows a user to upload file

When to form on this page uploads it opens another page uploadThisFile.asp to actually upload the info to database and folder

i want to direct the user back to their peoplephotos.asp page but this requires the peopleID param to display their details

how do i pass the peopleID param from the form page to the uploadThisFile page to their photos page
so it will display their data.

anyone help?
TOPICS
Server side applications
291
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2007 Feb 28, 2007
i have a fileUpload.asp page that allows a user to upload file

When the form on this page uploads it opens another page uploadThisFile.asp to actually upload the info to database and folder

i want to direct the user back to their peoplephotos.asp page but this requires the peopleID param to display their details

how do i pass the peopleID param from the form page to the uploadThisFile page to their photos page
so it will display their data.

anyone help?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2007 Feb 28, 2007
LATEST
this is the form action do i need to put any code into that to pass the param

<form action="uploadThisFile.asp"


then it passes it to the uploadThisFile.asp do i need to put

Dim peopleID
peopleID = Request.QueryString("peopleID")

on the uploadThisFile.asp page
if so where



that page also has to pass the peopleID param to the peoplegallery.asp page whisc will already be searching for the peopleID param to display the info


so do i put

dim url
url = "Response.Redirect "peoplegallery.asp?peopleID =" & peopleID

Response.Redirect url

where i had the Response.Redirect "peoplegallery.asp"
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines