Caching Different Xml files for different users

N

Nita Raju

Hi,

In my application i have to use different XML files for different users. I
use the cache dependency for the Xml file with the dataset. When multiple
users are accessing the site will there be a problem with the dataset.

Please help me.
Regards,
Nita
 
C

Chris Hyde

Nita said:
Hi,

In my application i have to use different XML files for different users. I
use the cache dependency for the Xml file with the dataset. When multiple
users are accessing the site will there be a problem with the dataset.

Please help me.
Regards,
Nita
Storing something in Cache makes it available to ALL users; this may (or
may not) actually be what you want. If you want to store information
for specific users, you would probably be better off storing it in Session.

Be careful though, because if you have a high number of concurrent
users, storing data in Session can cause your memory usage to increase
rather quickly, depending on how much you are actually storing for each
user.

HTH...
Chris
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top