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 2004

caching and controls....
Posted by Ollie at 5/31/2004 2:54:56 PM
I have been able to use the <%@ OutputCache.... %> directive at the top of the control to cache an asp.net ascx control.... Is it possible to force the control in the cache to become invalid if a certain action happens in the control, i.e. if the user press a certain button then cached control...more >>


session timing out unexpectedly
Posted by hch_nguyen at 5/27/2004 4:44:47 PM
Hi, I have an asp.net app. The session state is set to expire in 20 minutes in web.config, but my sessions seem to timeout randomly even though I interact with the application regularly, which is supposed to reset the expiration time I believe. Is there a specific way that you have to start a...more >>

Application level caching and callbacks
Posted by Joe User at 5/26/2004 1:47:23 PM
I'm trying to put a xml file in the Cache to be shared for the whole application. Whenever I change the xml file I need to refresh the Cache, so I put this code on the global.asax.cs file. It add a callback to reload the xml file, but it seems that the callback doesn't work. ¿What I'm doing ...more >>

fragment caching problem
Posted by Joe at 5/26/2004 7:21:05 AM
I have a custom control that generates client scripts and uses viewstate This control is placed in a user control that is placed in my application pages When I use OutputCache directive in the ascx (so that the control will not be generated each time), the client script and viewstate data of the c...more >>

Incorrect recycling of worker process?
Posted by DotNetJunkies User at 5/25/2004 3:56:53 AM
Hi all, Here is my observation of recyclation of worker process aspnet_wp.exe. Server: Win2000, 2GB RAM, 2xCPU Installed .Net Framework 1.1, ASP.NET 1.1 application When memoryLimit="60" and allocating 100MB chunks of data ( no change for GC to free ), TaskManager shows aspnet_wp.exe contan...more >>

Speeding Up Pages
Posted by OHM at 5/24/2004 1:06:44 PM
I was wondering about this topic and although I accept that different situations call for different solutions, but wondered are there any other solutions and whether has anyone carried out a comparison of the different methods for avoiding JIT. Further more, is there anything I should be conside...more >>

Accessing the cache from outside the aspx page
Posted by kevin.schneider NO[at]SPAM level3.com at 5/24/2004 10:35:09 AM
How do you get a reference to an applications cache from a class you call from within the aspx page? For instance suppose I have MyPage.aspx and a class called CacheHandler. MyPage.aspx creates an instance of CacheHandler at Page_Load let's say. How does this instance of CacheHandler get to th...more >>

Binding ASP with MS Access database
Posted by DotNetJunkies User at 5/21/2004 10:26:09 PM
When i make an ASP page to add data in MS Access db, the user when adds information in the relevant fields of the ASP page and clicks ADD the info is not updated in the database. Instead it gives a page not found error message. --- Posted using Wimdows.net NntpNews Component - Post Made from...more >>



Data from DLL not refreshing
Posted by Tim P. at 5/21/2004 9:31:02 PM
I have a simple ASP.NET page with a few lines of inline code. I created a DLL to monitor system uptime. The page is in /index.aspx and I placed the DLL in /bin/Uptime.dll. I added a reference to the namespace <%@ Import Namespace="WebUtil" % The first time I loaded the page everything went well, ...more >>

Which is better: XML File or SQL Query?
Posted by DeepDiver at 5/21/2004 12:14:57 AM
I am building a Web site navigation menu User Control; this User Control will be embedded in most of the dynamic pages of the site. The menu data will change over time, but not frequently: most weekly traffic will see the menu choices as static data. So my question is: will I get better performa...more >>

Session variables in asp.net
Posted by Newbie at 5/19/2004 6:03:34 PM
Hi All, I would really appreciate any ideas / clues on this issue which I am facing. I have a asp.net application, the problem is with maintaining session variables while using authentication for different users. My users are divided in groups , and have a username and pwd to login. Now if suppo...more >>

Cache and new window
Posted by Vik at 5/17/2004 12:33:25 PM
On an aspx page, a user can enter some search criteria and get the data from a database. The search results are stored in a dataset and then cached in a Session (for datagrid paging). If the user opens a new browser window and enters the new search criteria, then the new search results overwrite ...more >>

DataSet vs DataTable
Posted by John Thomas via .NET 247 at 5/15/2004 8:40:08 PM
Hope this isn't too much of a newb question=2E I'll ask it in the= context of what I'm trying to do so that maybe it's more clear=2E= I'm working on a site that has a list of featured products that= I'd like to store in a table form in cache, since this info= doesn't change much and will be ...more >>

Disable Image Caching
Posted by Kamyar Souri at 5/13/2004 12:47:14 PM
How can I disable Image caching? I use ASP.NET Image web control that it's ImageUrl is constant but the image is being changed by the code. because of cachin I always see the same image in my Image web control. Thank you in advance. ...more >>

The ol' Server.Transfer conundrum
Posted by Bradley Cotier via .NET 247 at 5/12/2004 9:56:58 PM
Hi all I have a query concerning Server=2ETransfer in ASP=2ENET=2E I have read= in many places that one of the advantages of using= Server=2ETransfer is that it doesn't update the browser URL= therefore the client doesn't know that a transfer has occured=2E= However, it appears to me that...more >>

Manually refreshing the Cache
Posted by Jay at 5/6/2004 12:04:15 PM
I am using Page Output Caching by using: <%@ OutputCache Duration=3D"6000" VaryByParam=3D"None" Location=3D"Any" = %> I would like to force caching to refresh all pages or specified pages in = my website. I realize there are various ways of setting the time limit, = etc. for a cache. ...more >>

remove single item from cache
Posted by paps at 5/6/2004 2:56:06 AM
I use an httpModule to intercept call to object like swf, js so i can put that object in cache HttpCachePolicy ResponseCache=((HttpApplication) source).Context.Response.Cache ResponseCache.SetExpires(DateTime.Now.AddYears(1)) ResponseCache.SetCacheability(HttpCacheability.Public) Res...more >>

Accessing HttpContext.Current.Cache from new Thread
Posted by Ken Everett at 5/4/2004 7:26:03 AM
I have a web page that executes a potentially lengthy method declared on an object in a referenced assembly Nested within this method is a call to a static method which retrieves values from cache via the HttpContext.Current.Cache object In order to make the web application more responsive, I am...more >>

Cache works locally but not on DEV Server
Posted by JTS at 5/3/2004 11:35:50 PM
I have been developing an application that makes extensive use of asp.net caching. I am lazy loading many objects into HttpRuntime.Cache. The caching has been working great on my development machine but when I push it out to our DEV and QA servers no objects will persist in the cache. There are ...more >>


DevelopmentNow Blog