|
-
May 6th, 2004, 10:58 AM
#1
Thread Starter
Frenzied Member
Session or Cache[Resolved]
Storing object in the session. In major client machine applications offten you create views and pull all the views data onto the local machine in a data cache. This cache is used across the entire application and updated as little as possible. The concept being that in most cases unless you your self add data you will be okay till the next day when you reload the application/ the global timer hits 12hrs and it updates the data. blah blah blah. I am wondering if storing a Collection of data in the session will work in a simular manner.
I've just created a CopyTo function on my DataCollection that creates a new DataCollection holding only Data from index to (index + count), also it can't be rebound because it was created using CopyTo and it's a sub cache. This is related to the paging thread but I'm just wondering if this idea is a good one.
Run down.
Load Data to sesion. (use a flash move to display load animation and run the pages)
From that point on Bind controls using the cache or a sub cache created with CopyTo.
If/when the data changes rebind the session data cache.
It sounds good but what about my Data Transfer/Bandwidth limit is this actual going to save me bandwidth like I think it will or raise it's use?
Last edited by Magiaus; May 12th, 2004 at 06:37 PM.
Magiaus
If I helped give me some points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|