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

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

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:
    480
    Craig Deelsnyder
    Sep 6, 2004
  2. =?Utf-8?B?UmFt?=
    Replies:
    1
    Views:
    476
    ViewState
    Oct 21, 2005
  3. Jonathan Wood

    Data-Storage Suggestions

    Jonathan Wood, Mar 13, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    403
    Jonathan Wood
    Mar 14, 2006
  4. Xaonon
    Replies:
    1
    Views:
    375
    Matt Humphrey
    Dec 17, 2003
  5. sarathy
    Replies:
    2
    Views:
    670
    sarathy
    Jul 17, 2006
Loading...

Share This Page