Keeping a large volume of data in Session - Suggestions / alternatives?

Posted by Fishcake on Stack Overflow See other posts from Stack Overflow or by Fishcake
Published on 2010-03-23T07:42:50Z Indexed on 2010/03/23 7:53 UTC
Read the original article Hit count: 304

Filed under:
|

I'm developing a web app for which the client wants us to query their data as little as possible. The data will be coming from a Microsoft CRM instance.

So we've agreed that data will only be queried as and when it is needed, therefore if a web user wants to see a list of contacts (for example) that list is fetched into a local DataTable. Then if a new contact is created on the website the new contact is sent to CRM and added to the local DataTable at the same time. Likewise for edits.

If the user then looks at their contacts again the data will just come from the local DataTable.

At the moment local data is being kept in Session but my concern is that too much memory will start being used up. However traffic is expected to be pretty small, perhaps no more than 20 concurrent users so am I worrying about nothing or is there a better way you can suggest to handle this?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about session