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 variables between pages using QueryString

Passing variables between pages using QueryString

Scheduled Pinned Locked Moved ASP.NET
visual-studio
4 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.
  • N Offline
    N Offline
    Naif_Prof
    wrote on last edited by
    #1

    HI i'm using VS 2005 and i need to use QueryString to pass variables between paged but its visible is there any why to Encrypt this variable value in URL address bar thanks a lot

    N 1 Reply Last reply
    0
    • N Naif_Prof

      HI i'm using VS 2005 and i need to use QueryString to pass variables between paged but its visible is there any why to Encrypt this variable value in URL address bar thanks a lot

      N Offline
      N Offline
      nature0276
      wrote on last edited by
      #2

      Do not use QueryString........ Put it is a session and transfer to other pages. Happy Programming.

      Sanjeev

      N 1 Reply Last reply
      0
      • N nature0276

        Do not use QueryString........ Put it is a session and transfer to other pages. Happy Programming.

        Sanjeev

        N Offline
        N Offline
        Naif_Prof
        wrote on last edited by
        #3

        OK, im using context.item["x"] and server.transfer("test.aspx",true) but it will effect RAM and application Performance? And is there any disadvantages? And as I know the professional programmer don’t prefer to use session ! thanks a lot

        N 1 Reply Last reply
        0
        • N Naif_Prof

          OK, im using context.item["x"] and server.transfer("test.aspx",true) but it will effect RAM and application Performance? And is there any disadvantages? And as I know the professional programmer don’t prefer to use session ! thanks a lot

          N Offline
          N Offline
          nature0276
          wrote on last edited by
          #4

          Hi Naif_Prof, Session object has improved a lot from classic ASP to ASP.NET 1.1 and especially 2.0. I believe Professional programmer do use session object these days. If you do not want to use session object, you have two options. a) Use query string..........but all the input information is visible to users in the URL. b) You can use cross page posting which is availabe in 2.0... you can check in the google. Or, Go to Fritz Onion webcast in webcasts series for ASP.NET 1.1 (Control based Programming ASP.NET), he talks about Multipage issues. Hope helped.

          Sanjeev

          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