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. Session

Session

Scheduled Pinned Locked Moved ASP.NET
5 Posts 5 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.
  • S Offline
    S Offline
    Sneha Bisht
    wrote on last edited by
    #1

    is it good practice to store dataset in session.

    N A V C 4 Replies Last reply
    0
    • S Sneha Bisht

      is it good practice to store dataset in session.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      No, but it is a good practice to read this[^], look at #3


      only two letters away from being an asset

      1 Reply Last reply
      0
      • S Sneha Bisht

        is it good practice to store dataset in session.

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

        Sneha Bisht wrote:

        is it good practice to store dataset in session.

        It Depends on the size of DataSet. What you are going to store in DataSet ? If this is normal user information its always better to use in normal variable rather than dataset. As per the data size of concern try to avoid dataset, datatable to store in session. :)

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET

        1 Reply Last reply
        0
        • S Sneha Bisht

          is it good practice to store dataset in session.

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          Datasets Are Expansive.

          Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

          1 Reply Last reply
          0
          • S Sneha Bisht

            is it good practice to store dataset in session.

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            Usually you'd store an id in the session and use that to define what dataset you need to get from the database.

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            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