persisting objects -
02-04-2005
, 12:21 PM
Hello,
I develop C# Web applications. We are currently working to add a
well-defined Business Logic Layer. We have developed several objects to
facilitate transactions on the Web site. My question is what is the best way
to persist these objects between requests.
We have been using session (serialization, etc.) objects (i.e. when a user
logs in, we create a user object and persist throughout). Is this the most
effective way (we want to avoid calls to the database for similar requests).
Also, which page (or global app) event is best for this. Would cache be a
better option?
Thanks!
-Jake |