D
DanG
..NET Framework 1.1.
Are Page.Cache, Page.Context.Cache and Context.Cache all the same? I
don't see enough In the MSDN to clarify it for me. The 1.1 Page class
has a Cache property, but no Context property (as it does in 2.0). My
search for a 1.1 Context class keeps refering to the 2.0
Page.Context. So, I'm confused.
I'm working on an application written by another developer who isn't
here anymore. He used Context.Cache, and it might be causing a
problem.
We have a screen that accumulates objects in Context Cache, and later
reads the cache and writes this data to the database. Apparently, we
had two users on different machines, both submitting at the same time,
since the timestamps on the DB records are milliseconds apart. One
user got all records, and the other didn't get any. My guess is that
they were sharing Context.Cache, and the server read whatever was in
cache and gave it all to one of the users.
Could Context.Cache do this? Is Page.Cache different/better for this
scenario? Or is Session Cache a better choice?
Thanks
Dan
Are Page.Cache, Page.Context.Cache and Context.Cache all the same? I
don't see enough In the MSDN to clarify it for me. The 1.1 Page class
has a Cache property, but no Context property (as it does in 2.0). My
search for a 1.1 Context class keeps refering to the 2.0
Page.Context. So, I'm confused.
I'm working on an application written by another developer who isn't
here anymore. He used Context.Cache, and it might be causing a
problem.
We have a screen that accumulates objects in Context Cache, and later
reads the cache and writes this data to the database. Apparently, we
had two users on different machines, both submitting at the same time,
since the timestamps on the DB records are milliseconds apart. One
user got all records, and the other didn't get any. My guess is that
they were sharing Context.Cache, and the server read whatever was in
cache and gave it all to one of the users.
Could Context.Cache do this? Is Page.Cache different/better for this
scenario? Or is Session Cache a better choice?
Thanks
Dan