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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. session VS query string

session VS query string

Scheduled Pinned Locked Moved ASP.NET
htmldatabasevisual-studioquestion
4 Posts 4 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.
  • F Offline
    F Offline
    firestoper
    wrote on last edited by
    #1

    Hi G to URUS Which is much better to use? Thanks Dom

    S _ M 3 Replies Last reply
    0
    • F firestoper

      Hi G to URUS Which is much better to use? Thanks Dom

      S Offline
      S Offline
      Suave_Shiva
      wrote on last edited by
      #2

      Commonly, both are used for data interchange between webpages. From my point Query string is best,for small data interchange. But using sessions U can interchange even datagrid.So ,based on our requirements we can choose any one of them. Urs Shiva

      1 Reply Last reply
      0
      • F firestoper

        Hi G to URUS Which is much better to use? Thanks Dom

        _ Offline
        _ Offline
        _AK_
        wrote on last edited by
        #3

        Also security can also be a concern while selecting for one.

        Best Regards, Apurva Kaushal

        1 Reply Last reply
        0
        • F firestoper

          Hi G to URUS Which is much better to use? Thanks Dom

          M Offline
          M Offline
          MinhajuddinK
          wrote on last edited by
          #4

          As said. You can use the Query string for small data. But you have to avoid sending confidential data as that would be a hacker's dream. And you have to consider the memory constraints while using the Session object.

          You don't have to be

          AFRAID!

          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