Storage of Data

Discussion in 'ASP .Net' started by Samuel Shulman, Oct 19, 2006.

  1. I need to store the data in the dataview so user will be able to sort the
    data in the GridView control

    The question is where, storing in the ViewState property will mean that the
    entire list will be downloaded and uploaded each time

    Storing in the Cache or the Session object will mean that if the user will
    open 2 windows then I may send them the wrong information

    What is then the solution?

    Thank you in advance
    Samuel
     
    Samuel Shulman, Oct 19, 2006
    #1
    1. Advertisements

  2. if you use cookies to store your session key, then you run into this issue.
    you should use transaction keys you use to track data in the session. as
    here are some issues you need to handle

    1) refresh of current page
    2) multiple submit of same page
    3) loading page from history


    -- bruce (sqlwork.com)


    "Samuel Shulman" <> wrote in message
    news:...
    >I need to store the data in the dataview so user will be able to sort the
    >data in the GridView control
    >
    > The question is where, storing in the ViewState property will mean that
    > the entire list will be downloaded and uploaded each time
    >
    > Storing in the Cache or the Session object will mean that if the user will
    > open 2 windows then I may send them the wrong information
    >
    > What is then the solution?
    >
    > Thank you in advance
    > Samuel
    >
     
    bruce barker \(sqlwork.com\), Oct 19, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Karl
    Replies:
    1
    Views:
    578
    Craig Deelsnyder
    Sep 6, 2004
  2. =?Utf-8?B?UmFt?=
    Replies:
    1
    Views:
    568
    ViewState
    Oct 21, 2005
  3. Jonathan Wood

    Data-Storage Suggestions

    Jonathan Wood, Mar 13, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    590
    Jonathan Wood
    Mar 14, 2006
  4. Xaonon
    Replies:
    1
    Views:
    464
    Matt Humphrey
    Dec 17, 2003
  5. Joe Estock
    Replies:
    7
    Views:
    494
    Karl Heinz Buchegger
    Nov 18, 2003
  6. Replies:
    7
    Views:
    647
    James Kanze
    Jan 16, 2005
  7. Randy Howard

    data storage question...

    Randy Howard, Jun 7, 2004, in forum: C Programming
    Replies:
    1
    Views:
    376
    Eric Sosman
    Jun 7, 2004
  8. sarathy
    Replies:
    2
    Views:
    823
    sarathy
    Jul 17, 2006
Loading...