DataSet With Application_OnStart

  • Thread starter Thread starter Roshawn
  • Start date Start date
R

Roshawn

Hi,

I've read many times about the benefits of using the DataSet object. I know
that you can place it in the cache in just about any place. I was
wondering, though, if it were a good idea to add the DataSet to the cache in
the Application_OnStart event (assuming that it can be done) to make it
available to all pages that need it?

Thanks,
Roshawn
 
Hi Roshawn,

When it is by instance an articlelist not special for one session, than the
cache is made for it to avoid to much reading from the database.

When it is a dataset that belongs to a user(session) than you better place
it in a session.

I hope this helps?

Cor
 
Back
Top