dropdownlist selectedindexchanged

G

Guest

hey all,

is it ok to instantiate and new dataset and business object each time this
is changed or is it better to persist objects in session?

thanks,
rodchar
 
S

Steve C. Orr [MVP, MCSD]

There is no single correct answer to that.
It depends on many variables, such as the size of the dataset, the load your
site is under, the amount of RAM in your server, how much bandwidth you
have, how often the selectedindex gets changed, how fast your servers are,
etc.
The only way to be sure would be to do some load testing against both
designs.

In general caching is a good thing, just don't go overboard with it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top