Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / October 2004

Tip: Looking for answers? Try searching our database.

want to save cache object in application_end() method

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dicky Cheng - 09 Aug 2004 11:28 GMT
Hi, I am using ASP.net built-in Cache object, and i store a lot of cache
objects for saving database accessing time. When my application start, i
will load saved cache object to the Cache object, and when the application
end, i want to save all cache object to the disk. Unfortunately, the Cache
object is empty in the application_end method, so that I can't save cache
object. I am not sure why all cache will flush before the application_end
method, and any workaround that I can save all cache object before
application restart?
Calvin Luttrell /PT - 04 Oct 2004 22:45 GMT
Dicky,

Why are you waiting for the application_end to save these objects to cache? Would you be better served by saving the data to cache then setting the expiration to an appropriate amount of time? Then retrieve that data and if it is not there go and retrieve it.

> Hi, I am using ASP.net built-in Cache object, and i store a lot of cache
> objects for saving database accessing time. When my application start, i
[quoted text clipped - 4 lines]
> method, and any workaround that I can save all cache object before
> application restart?

-Calvin Luttrell
ProjectThunder.com, Inc.
Torrance, Ca
My Profile


Note: The information contained in this email and document(s) attached are for the exclusive use of the addressee and may contain confidential, privileged and non-disclosable information. All information is provided on a 'as is' basis.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.