Re: best way to keep persistence of a dataset?

Tech-Archive recommends: Fix windows errors by optimizing your registry




not viewstate. use session or recreate from database.

-- bruce (sqlwork.com)



patrickdrd wrote:
Hi everyone?

Which is considered to be the 'best' way to cache a dataset and/or a crystal reports reportdocument object?
ViewState? Session? Something else?

Thanks in advance!
.



Relevant Pages

  • Re: ViewState, Application, Session....
    ... viewstate and as a part of Request pipeline the framework initializes the ... Session: Session is a storage area that is specific to one user. ... there are times when session provides a good way to store user specific ... Application or Cache: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to store a datatable temporarily
    ... Cache - Application caching ... If you are paging small amounts of data, you can either pull it each trip or cache in ViewState. ... Once you start getting more data, you will want to use Cache or Session. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: How and why to save ViewState in a session object
    ... Thank you for your response. ... View State can be customized to be stored in a Session or Cache object. ... Cache.Add(_vskey, viewState, null, ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: How and why to save ViewState in a session object
    ... Cache is a more efficient way of persisting data on the server side. ... of the items that are stored in the cache (which will not happen when session ... Cache.Add(_vskey, viewState, null, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Cache, Session, ViewState and Application
    ... My question is to do with scalability and the location for storate of cache, ... Session - Data is stored in memory ... ViewState - Page (but can be modified to overwrite the storage mechanism to ...
    (microsoft.public.dotnet.framework.aspnet)