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 > april 2005

Objects not Destroying
Posted by Richard at 4/29/2005 1:36:02 PM
I'm running into a problem with objects not destroying when the browser closes and is reopened. I have a custom collection that is declared public in a module, and instantiated elsewhere (linkbutton click event). The collection works fine, but when I close the browser and then I restart the we...more >>

Caching Suggestion
Posted by VK at 4/29/2005 8:16:20 AM
Hello Guys, I have an application, where 99% of the webforms requires the user to enter some values in some textboxes to get some data from the database. As you can guess the data is based on the values of the textboxes. Now I would like to cache the result returned from the databas...more >>

using cache in a class library (.Net 2.0)
Posted by guillaume StEtienne FR at 4/29/2005 6:24:04 AM
obvioulsy, caching technique had been tremendously simplified & imporved in ..Net 2.0 but the assembly System.Web.Caching seems to be allowed only in a Web Project how about taking advantage of Caching and of that POO simple rule: create a class library that can be called from a HttpAppl...more >>

Cache Not Available Problem
Posted by Mathew Uthup at 4/28/2005 8:37:12 PM
Does any one know Why and When the .Net Runtime Throws the "Cache Not Available" Exception Message. The Code Snppet That Causes the Problem is as follows. The Code.. internal class EnvUtil :System.Web.UI.Page { //private string m_sResetClientId; ...more >>

Performance issues.
Posted by VK at 4/27/2005 11:30:08 AM
Hi, I apologize to post in this forum. I hope this is not wrong. I was actually thinking to put in the performance group, but somehow some of the other groups are not working. I have an application, which has a datalist in it. The datalist has another datalist as a child. I do the lo...more >>

Dataset or datatable will not persist in cache
Posted by jw56578 NO[at]SPAM gmail.com at 4/25/2005 1:51:44 PM
If i have a valid Dataset or Datatable with rows and i put it into the cache by way of insert, why would the DS or DT have no rows when i retrieve it back using get? ...more >>

window.open seems to cache new page
Posted by klynn at 4/22/2005 5:29:13 PM
I have a page that I want to open with window.open() but it doesn't ever run page_load or even re-read the page (it seems to cache the original version of the page). If I do response.redirect, it runs just fine (but I absolutely must have it open a brand new page)... How do I force the page ...more >>

WHere does caching take place ?
Posted by Chakra at 4/21/2005 12:00:00 AM
If an ASP.NET application creates a dataset, is this dataset stored in server or client ? On the other hand, if it creates a 'Cache' object , will that be created on server, or client ? ...more >>



Error: FindControl requires that controls have unique IDs.
Posted by SouthSpawn at 4/21/2005 12:00:00 AM
I have a datagrid with a checkbox column, and dropdown list that does a autopostback. Basically, the dropdown list is a filter for the datagrid. Here is my workflow. 1. Load .aspx page. 2. Click on filter to show certain results in datagrid. (This will do a autopostback) 3. Select item from...more >>

Multiple Instances of a usercontrol on one page
Posted by SouthSpawn at 4/20/2005 11:55:52 PM
I keep getting this error. MS says there is a hotfix, but is there a way around this. Mark ...more >>

Best location for CacheItemRemovedCallback function?
Posted by testtester at 4/19/2005 11:28:01 PM
I'm thinking of using the CacheItemRemovedCallback, but I've never used it before. I'm wondering where the delegate function should be located. For something like the code below, I'm wondering where the code for "[SomeObject].RemovedCallback" should be. Cache.Insert ( "obj12345", Source, nu...more >>

free Balloon Tooltip
Posted by herr lucifer at 4/19/2005 9:02:25 PM
Professional Balloon Tool tip download it for free: http://www.freewebs.com/balloontooltip/ ...more >>

Using asp.net data cache
Posted by robin9876 NO[at]SPAM hotmail.com at 4/19/2005 2:33:29 PM
Using a cache example such as the following with a cache dependency. Is this data cached per user or per worker process? Also where is this cached stored and how can the details of the whole cache be viewed? Cache.Insert("MyData", Source, _ New CacheDependency(Server.MapPath("mydata.x...more >>

Cache.Remove from a seperate web server
Posted by Jeff at 4/18/2005 12:33:47 PM
Have two web servers, cacheX will reside on each server seperately, expiration gets set when each gets created. Power users (only 2-3 people) for the web app want the ability to remove the cache on both servers from a single interface button click. I know these power users will be using web se...more >>

page caching
Posted by Adam K at 4/17/2005 12:00:00 AM
Dear all I'm having a probelm concerning the security of my application. the problem is when a user is loggoed in and then he looged out i redirect him to the main page of my application but if he clicks on the Browser's "back button" he could then enter to the application. i'm removing all ses...more >>

creating avery labels in asp.net
Posted by rasta at 4/16/2005 1:10:43 PM
is there a solution that will help create avery std (e.g., 5160) labels in asp.net the result can be html/word doc or PDF. the only requirement is that the resulting pages are accurate and labels fall in then right cells with no overruns. thank you. ...more >>

Session Caching
Posted by py at 4/15/2005 3:32:29 PM
I have my data in classes that internally use ADO datatables. These classes not only hold data but they also link to each other with object references. Can i store these objects in the session? i do not need to share them between sessions. Should i cache them in the cache (which i have nev...more >>

ASP.Net caching in web garden scenario
Posted by mk at 4/15/2005 2:47:02 PM
if we configure an ASP.Net application pool with more than one worker process (web garden), they do not share session object, application object or ASP.net intrinsic cache object. If I want all these processes to share one single cache, is it possible to configure at all some way or the other?...more >>

OutOfMemoryException during caching
Posted by Alexander Inochkin at 4/13/2005 12:08:29 PM
Hi! I use System.Web.Caching.Cache object in ASP.NET application to cache a lot of large (~100K) and small (~2-5K) objects. I use Windows Server 2003, IIS, ASP.NET v.1.1 ( all patched! ). When I run my application on server with 1 Gb Ram all work OK. The memory using w3wp.exe growing up t...more >>

session caching an entire page
Posted by it at 4/12/2005 9:18:03 AM
how feasible is it to cache an entire page's content in a session variable? i am already doing it and it works fine, except i am afraid of scalability issues. what is the best way to test this? and is there an obvious reason why i should not do this. ...more >>

disable caching ?
Posted by Joe Abou Jaoude at 4/11/2005 1:43:16 AM
Hi, can a user disable caching on his computer ? and if yes how ? thanx *** Sent via Developersdex http://www.developersdex.com ***...more >>

cache enumeration from web page
Posted by vbphil at 4/8/2005 8:49:07 AM
I'm caching aspx pages and ascx controls as well as programmatically within aspx code for my asp.net web application. I'd like to have a special admin aspx page that will display the contents of the cache. I'm using the IDictionaryEnumerator, see code snippet below, but this just gets me the ...more >>

Creating New Sessions
Posted by Jay at 4/5/2005 4:55:13 AM
Is there anyway to create a new session when using: Response.redirect ("Newpage.aspx") or window.open ("NewPage.aspx"). In other, words I want NewPage to start a brand new session. The old session would still be in effect. Jay ...more >>

File permissions for FileUpload
Posted by Jay at 4/4/2005 4:55:14 PM
This has to do with uploading files to a folder on the web server. In http://support.microsoft.com/kb/323246 it indicates that the permissions on the folder you are uploading to should be set on user MachineName\ASPNET. This does not work for me on our production server. It does on my dev...more >>

perf issue for auto-fill with large number of records
Posted by rasta at 4/4/2005 12:19:00 PM
i've a web page that loads the entire cust record tbl to simulate a auto fill during data entry this works great when tot cust recs < 1500, going over the 1500 numbers the conescute page loads take several seconds. that is the user must wait few seconds before the next page appears and the...more >>

Help with Caching problem
Posted by Keith F. at 4/2/2005 6:27:02 AM
Hi, I'm having a serious problem with an ASP.NET web application that relies heavily on several cache objects. One of the cache objects is a datatable with approximately 50,000 records. From time to time, the cache object becomes unsearchable. There are checks in the components that reference...more >>

Priority of Data Stored in Session
Posted by Jay at 4/1/2005 11:54:03 AM
Is there a way I can specify that data stored in Session("Login") has the highest priority and should be the last to be discarded when memory gets low? Thanks. Jay ...more >>


DevelopmentNow Blog