Groups | Blog | Home


Archived Months
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > asp.net caching > may 2005

Problem with CacheDependency - Fires twice
Posted by Martin Millar at 5/26/2005 8:49:03 AM
Hi I am trying to load 2 large xml files into 2 datasets and store them in Cache. The CacheDependency is linked to 3rd file which is produced after the xml files are written. What happens is that the callback routine is called twice for each dependency when the dependancy file is altered...more >>


Object instance Across pages
Posted by Saket Mundra at 5/25/2005 1:12:05 PM
I have a web applicatin with 2 web forms.Form 1 contains 2 textboxes - txtName, txtAge and Submit button. Form 2 Contains 2 textboxes - txtsubject, txtSection and submit button. I have a class Student as follows Public Class Student dim name as string dim age as string dim subject as st...more >>

How to disable caching pictures?
Posted by Gen at 5/19/2005 7:19:17 PM
Hello there, I am developing an ASP.NET application (v1.1.4322) and I need to find a solution for the following: 1. One of the pages in the application displays information about items, which is read from a FireBird Database and displayed in DataGrid control. 2. Each item can have a picture...more >>

can application variable do this or is there something else to use?
Posted by Daniel at 5/17/2005 1:52:26 PM
right now i have some sql server tables that i search for a value w/ a key each time a .aspx is hit. is there any way i can just have the first hit to the .aspx select all the entries from the key/value table in to some kind of hash table so that subsequent hits to the .aspx get the data from the...more >>

Problem When we change DataSet after caching
Posted by SMG - Idealake at 5/16/2005 12:00:00 AM
Hi All, I am using caching on my page. The dataset is retrieved from the cache or database as per the availability. Once I get DataSet in my page from my BusinessComponent(A Different Project which returns fresh / cached dataset), I use that DataSet to bind with a DataList in a page, just befor...more >>

Checking Cache Objects
Posted by Elizabeth Harmon at 5/13/2005 12:00:00 AM
I recently had a System Out of Memory exception On a windows 200 server where my .Net App Resides. I checked thru my code and can't seem to find anything like an infinite loop or objects that are not set to nothing when they are done being used. Is there some way to examine how much Cache i us...more >>

OutputCaching vs HTML files
Posted by djmc at 5/12/2005 7:54:10 AM
Hi, To improve the performance of my site, which would be best: 1) Output caching my pages 2) dumping pages to html and overwriting the html files whenever there are changes. My data changes about every 2-3minutes for the first 2 hours, then about every 15-30mins the remaining 24hours. Th...more >>

Caching is weired
Posted by SMG at 5/12/2005 12:00:00 AM
Hi all, I am using caching on my page. The dataset is retrieved from the cache or database as per the availability. While showing the ds on the page I am removing one row. What is happening is, it is removing each row with every refresh of the page. Why it is doing so? there is any problem ...more >>



Duplicate session ID in multiple IE windows
Posted by Jim Tilson at 5/11/2005 7:41:02 AM
I'm having a problem with multiple IE windows having the same Session ID. I turned on tracing in my web.config file so I could see the session information at the bottom of each page. I open Internet Explorer and navigate to my ASP.net application. I then type CTRL-N to bring up a new IE w...more >>

Cache Key
Posted by Andrew Robinson at 5/10/2005 4:19:32 PM
I have an HttpHandler that returns dynamic images based on data and images in SQL. An expensive task. I would like to save the image in the Cache object. Seems like a good idea! The page take 4 or 5 different query string variables as input. What is the best way to form a key that can be used ...more >>

Two Webservers and Caching
Posted by SMG at 5/7/2005 12:00:00 AM
Hi All, My web Application is in about to launch, but to take precautions M asking following questions: 1. My web application is gonna be deployed on the two web servers. I have written caching code, does that mean caching will happen on both the servers, can I avoid that as it is not fe...more >>

Syntax for "NULL" in asp.net
Posted by xianxian chan at 5/6/2005 12:18:12 AM
Hi everyone, what is the syntax for NULL if u guys know of any.. Cache.Add("ProductsTable", s, null, DateTime.Now.AddSeconds(60), TimeSpan.Zero, CacheItemPriority.High, null) i tried writing the code as u can see above, but when i put my mouse pointer over the blue curly underline on ...more >>

Application state - data disappears
Posted by Vik at 5/5/2005 3:29:07 PM
Sometimes all data in Application state disappears during debugging. Is there expiration time for the Application state? What may be another reason for losing data? Thanks. ...more >>

Cache Problem - Urgent
Posted by SMG at 5/5/2005 12:00:00 AM
Hi All, I have written a function which gives me dataset either from database or from cache. 1. First time when the page is hitted there is no cachekeyname in cache so it fires a query to database and insert the object into cache. 2. With the second hit it should pick up the data from c...more >>

Session varaibles are lost when an error occurs
Posted by So at 5/4/2005 12:00:00 AM
In VS2003, when debugging (with breakpoints set) a ASP.net web project (locally), if an error/exception occurs the browser navigates to the "Server Error" page. After this point it looses all the values stored in the Session objects, and leads to many other errors, before I must refresh the page ...more >>


DevelopmentNow Blog