I have a handler (for example, list.ashx) that has a method that retrieves a large set of data and then only captures the records that will be displayed on any given "page" of data. We allow users to sort by these results. Thus, any time I start the page, I get a dataset that I received just a few seconds / minutes ago, but reordering them or showing the next data page, etc.
I want to say that my data set has not really changed. Typically, a dataset is stuck in a page view, but since I use a handler, I donโt have that convenience. At least I donโt think so.
So, what is a common way to store a widget associated with the current user page when using a handler? Is there a way to take a data set, somehow encode it and send it back to the user, and then to the next call, transfer it back and then re-remove the data set from these bits?
I donโt think that a session will be a good place to store it, since we can have 1000 users viewing different data sets of different data, and this can lead to the server kneeling down. At least I think so.
Does anyone have experience in this situation, and can you give me any advice?
source share