Caching object in the Application or Session Object?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Caching object in the Application or Session Object?

  1. #1
    solex Guest

    Caching object in the Application or Session Object?

    For some reason I cannot seem to get a response for this question on any
    of the appropriate microsoft news groups:

    What is the consensus with caching immutable data? I would like to
    implement a load on demand identity map (using visual basic) in the
    application.contents or session object.

    Basically if client requests an object the application would first check
    the identity map if it is not found then load it from the database and
    then insert into the map for future reference then return the object.

    Thanks,

    Dan


  2. #2
    Kris Eiben Guest

    Re: Caching object in the Application or Session Object?

    http://www.aspfaq.com/show.asp?id=2053

    "solex" <solex@nowhere.com> wrote in message
    news:3e8d9df3$1@tnews.web.devx.com...
    > For some reason I cannot seem to get a response for this question on

    any
    > of the appropriate microsoft news groups:
    >
    > What is the consensus with caching immutable data? I would like to
    > implement a load on demand identity map (using visual basic) in the
    > application.contents or session object.
    >
    > Basically if client requests an object the application would first

    check
    > the identity map if it is not found then load it from the database and
    > then insert into the map for future reference then return the object.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center