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. large data using sessions

large data using sessions

Scheduled Pinned Locked Moved ASP.NET
database
4 Posts 3 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.
  • M Offline
    M Offline
    m dhu
    wrote on last edited by
    #1

    in my project im using session to transfer data from one page(default) to other page(edit).. how i need to transfer large data using with or without session.. as data is confidential i dint use query string...

    //from database
    session["headline"]=dr["headline"];
    session["bodytext"]=dr["bodytext"];
    // i have around 20 values....
    "
    "
    "

    //edit page..
    TextBox1.Text=session["headline"].ToString();
    TextBox1.Text=session["bodytext"].ToString();
    "
    "
    "
    ........

    G A 2 Replies Last reply
    0
    • M m dhu

      in my project im using session to transfer data from one page(default) to other page(edit).. how i need to transfer large data using with or without session.. as data is confidential i dint use query string...

      //from database
      session["headline"]=dr["headline"];
      session["bodytext"]=dr["bodytext"];
      // i have around 20 values....
      "
      "
      "

      //edit page..
      TextBox1.Text=session["headline"].ToString();
      TextBox1.Text=session["bodytext"].ToString();
      "
      "
      "
      ........

      G Offline
      G Offline
      Gamzun
      wrote on last edited by
      #2

      well you can use cookie's as well but as you mentioned data is in large quantity then you might end up using session which itself isn't a good choice.

      A 1 Reply Last reply
      0
      • G Gamzun

        well you can use cookie's as well but as you mentioned data is in large quantity then you might end up using session which itself isn't a good choice.

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        Gamzun wrote:

        well you can use cookie's as well but as you mentioned data is in large quantity

        As well as the data is confidencial. :)

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        1 Reply Last reply
        0
        • M m dhu

          in my project im using session to transfer data from one page(default) to other page(edit).. how i need to transfer large data using with or without session.. as data is confidential i dint use query string...

          //from database
          session["headline"]=dr["headline"];
          session["bodytext"]=dr["bodytext"];
          // i have around 20 values....
          "
          "
          "

          //edit page..
          TextBox1.Text=session["headline"].ToString();
          TextBox1.Text=session["bodytext"].ToString();
          "
          "
          "
          ........

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          What is the problem with use of Session ?

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          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