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

passing variables

New Here ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

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

Views

243
Translate

Report

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

Copy link to clipboard

Copied

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?

Votes

Translate

Report

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

Copy link to clipboard

Copied

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"

Votes

Translate

Report

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