Skip to main content
Known Participant
February 28, 2007
Question

passing variables

  • February 28, 2007
  • 2 replies
  • 265 views
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?
This topic has been closed for replies.

2 replies

Known Participant
February 28, 2007
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"
Known Participant
February 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?