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 > october 2004

Caching .xml and .xsl files
Posted by Rahul Agarwal at 10/28/2004 11:40:56 AM
Hi We use few .xml and .xsl files in our web application and we found that these files even though fairly static gets downloaded to the client's machine everytime the page is refreshed. Is there a way we can instruct so that these files only gets downloaded to the client's machine if there ...more >>


Application State Does not WORK! HELP!!
Posted by Garry McGlennon at 10/27/2004 9:02:41 PM
Greetings I've not having much luck with any type of cache. Currently I can't get Application State to work. Here is the code I'm using to store something into the Cache: If System.Web.HttpContext.Current.Application("Framework.ReferenceData") Is Nothing Then System.Web.HttpContext.Curr...more >>

is there store something in cache so only current user can access it (like session variables)
Posted by thomasamillergoogle NO[at]SPAM yahoo.com at 10/27/2004 10:23:07 AM
I have a query that I would like to cache. When the user executes a query a datatable is returned. I stuff that datatable into a session variable. It works well. Is storing a databable into a session variable offer worse performance then putting it into a .net cache? Another question. Is th...more >>

maximum number of sessions....
Posted by Ollie at 10/25/2004 10:02:07 AM
Is there anyway to montior the number of user sessions from an asp.net app\page? The reason I ask is because I would like to throttle the number of concurrent sessions to a website, i.e. limit the number of concurrent user sessions lets say to 10,000 and if a user session exceeeds this amount ...more >>

controls caching
Posted by imad.marie NO[at]SPAM gmail.com at 10/25/2004 1:07:45 AM
hi all: is it possible to cache all aspx content except for one control. thanks...more >>

Advice on cache design
Posted by Stephen Woolhead at 10/23/2004 2:07:12 AM
Hi all, I am looking for some advice on how to implement a caching solution for use in my asp.net app. I have a function that returns a simple true or false, but to get the answer needs to execute appox 20 queries to the database. This function gets called a lot so I want to store the resu...more >>

Cache file dependency stops working
Posted by Ian Cox at 10/21/2004 2:30:45 PM
Hello. I hope someone can help us. We have an ASP.NET application that uses caching, which has given us dramatic performance benefits.. We use file dependency expiry and sql triggers to create a file, so that we can expire the cache when database updates are made. It had been working fine until...more >>

New SessionID after each POST
Posted by Anthony at 10/20/2004 3:59:57 PM
I am storing a few string variables to the Session Object in an ASP.Net app. The main page posts back to itself as the user sets options. It also saves the strings to Session. The user can click a button which uses (window.open) to launch a popup. The popup uses the Session variables to displ...more >>



object updating cache
Posted by dappledore NO[at]SPAM kagi.com at 10/17/2004 7:40:18 AM
Dim col As New uTargetAdvertiserURLCollection(Cache("UtargetCampaigns")) Dim item As uTargetAdvertiserURL item = col.Item(0) item.URLID += 1 Response.Write(item.URLID) item = Nothing When i update the item which is part of a collection , ...more >>

Adding DataRow to ViewState
Posted by Jarrod.M.Dixon NO[at]SPAM gsk.com at 10/6/2004 8:00:02 AM
When trying to add a DataRow to a Page's ViewState, I get the following error: The type 'System.Data.DataRow' must be marked as Serializable or have a TypeConverter other than ReferenceConverter to be put in viewstate. DataRow is clearly marked as Serializable (indeed, how could it not be?)...more >>

Caching multiple versions of a sql-query ...?
Posted by Koen Hoorelbeke at 10/4/2004 8:21:01 PM
Hi there, Here's the situation: I have a webservice that calls an sql query and returns a table with data. This table doesn't change so much (actually very little, maybe only once a month or so). However it contains data for multiple countries/states. So when I need the data, I have one ...more >>

"Show HTTP friendly error message", XP, XP-SP2 and IE6
Posted by kalchas NO[at]SPAM a1.net at 10/1/2004 1:19:13 AM
We're having a .net web-application having it's cache policy set to "NO-Cache". MSDN Details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttpcacheabilityclasstopic.asp [and] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h...more >>


DevelopmentNow Blog