473,396 Members | 1,809 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Web caching data is cleared not by code

My web application has few caches but seem like the most frequent used one just keeps being cleared after the application is launched after some time. I am just testing the application so I set the time to update the cache to be small in the Cache.Insert function, and there is an update call back parameter in that function to update the cache when it is about to expire so the user should never get empty data. If the cache is empty, there will be a call to get the data from the database, insert it into the cache and return the data to the user but instead that did not happen, I don't see the call is made when running the sql profiler. As a result, the user will see no data. This behavior occurs both when I run the application on IIS or in my webserver in Visual Studio environment. What could happen here?
Aug 31 '11 #1
0 807

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
1
by: joe_g99 | last post by:
Hi, I have a bit of c# code that needs to pull data fro a database, the problem I have is that once I have run the query once get the same data, regardless of wether I add update or delete the...
1
by: amrendrakr | last post by:
Hi, I like to cache data in Windows application similarly as we do in ASP.Net using System.Web.HttpContext.Current.Cache. any idea how is do it? Thanks
0
by: Janaka | last post by:
I think its generally agreed upon that if your data retrieves data frequently that doesn't change often then caching this is the best method. One of the most common examples is a DataGrid or...
3
by: Mark | last post by:
Avoiding a connection problem due to network issues is our highest priority for one of our apps. Hence, we'd like to cache 200 records so they are available IF a connection wasn't available. ...
5
by: DC Gringo | last post by:
I am having a problem reading a simple update to the database. Basically I'm testing a small change to the pubs database -- changing the price of the Busy Executive's Database Guide from 19.99 to...
1
by: tin | last post by:
hi, i need to cache data in memory for a web appl, which takes up to 1 GB ram. and i don't want it to load everytime the appl restart (changing other code files/replacing other dll etc). and i...
0
by: Michael | last post by:
Hi all, I have a Web app that calls a Web service to get back some data that very rarely change, like a lookup table to populate a dropdown. I'm wondering how best to cache that data. Can...
2
by: Tom | last post by:
I have a textbox on my web form were users can enter in 1 name or many names. The form then validates the name against the database. If the name is valid its then saved into a varaible to be used at...
2
by: DUMAS64 | last post by:
my data ase has five field need enter new data(record) after the last input when I press enter for the program to insert the five details I receive the following error and I cannot figure where I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.