Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Passing parameters better than Response.Redirect

Passing parameters better than Response.Redirect

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Braulio Dez
    wrote on last edited by
    #1

    Hi, I'm wondering how to pass a parameter to another web page (typical ... select a person ID, and then in the next page show his profile), ... I have read about the Response.Redirect in the URL, or using Session variables, is there another possibility ? Thanks Braulio

    P 1 Reply Last reply
    0
    • B Braulio Dez

      Hi, I'm wondering how to pass a parameter to another web page (typical ... select a person ID, and then in the next page show his profile), ... I have read about the Response.Redirect in the URL, or using Session variables, is there another possibility ? Thanks Braulio

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      You can add your own GET/POST variables to the header which is then submitted to the next URL. On that URL you can then retrieve the values by the GET/POST vars name. This is how a normal form submits data. You could also store it in the database and retrieve it from the other page. The other ways are better for transitory processes though. regards, Paul Watson Bluegrass South Africa Chris Maunder wrote: "I'd rather cover myself in honey and lie on an ant's nest than commit myself to it publicly." Jon Sagara replied: "I think we've all been in that situation before." Crikey! ain't life grand?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups