| Thread | Last Post | Replies |
|
| Application state vs. Cache API | 26 Aug 2004 16:37 GMT | 3 |
I need to cache infrequently changed data used by the entire application. Does anybody know whether using Application state (Application["YourGlobalState"] = somevalue;) or the Cache API (Cache.Insert) is more preferable?
|
| recycling app pools..... | 26 Aug 2004 13:14 GMT | 1 |
When an application pool is recycled in IIS 6.0, What happens to the HttpContext.Cache in an asp.net application, Does it persist across the recycle? Cheers
|
| Cache expiration one minute off? | 25 Aug 2004 06:40 GMT | 3 |
Okay, what am I missing? For some reason, when I set an absolute expiration time it is always one minute longer for which I stated. I have tried it on a few XP machines. Obviously there is a flaw in my logic I can not see. Here is the code that you can paste into Global.asax:
|
| Object of cache never freed | 25 Aug 2004 06:16 GMT | 2 |
If I have this simple code: Cache["MyObj"] = new MyClass(); Application["MyObj"] = Cache["MyObj"]; I suppose that the object NEVER will be freed of cache because always will
|
| Issue with login-password in a web page | 23 Aug 2004 15:11 GMT | 2 |
Please give me any links/examples to create a page which can store my password in cache, call that cache when I enter my userid, automatically insert my password in the text box later. Please suggest.
|
| blank pages & RegisterStartupScript | 23 Aug 2004 14:28 GMT | 2 |
I use javascript to open a child window from the browser (window.open.....) this is then registered with the system using Page.RegisterStartupScript, it display the child peffectly fine. The problem is that all the links on the parrent (main) window now display a blank page when ...
|
| absolute expiration doesn't expire cache | 16 Aug 2004 03:38 GMT | 2 |
I am using absolute expiration to expire my cache object in Cache API. And I set it to expire after 60min. Then I test it, it cache, and everything fine. Then I stop working and lock computer (pc still running), then leave office. Second day I come to the office and unlock computer, ...
|
| FormsAtuthentication.Signout | 12 Aug 2004 20:53 GMT | 2 |
Here's the problem: I have a start page called Main.aspx. I use forms authentication. Initially when the user logs in it goes to Main.aspx After calling FormsAuthentication.Signout i have
|
| Add A Web User Control to Server-Side Cache | 11 Aug 2004 09:13 GMT | 1 |
I want to add a web user control to server-side cache using the following code... TextWriter tempWriter = new StringWriter(); Control control = LoadControl(acUrl);
|
| Cache.SetExpires() and response-head: Expires: inseperably linked? | 10 Aug 2004 12:37 GMT | 1 |
I have some items that require long expiration date (weeks, months etc) so they stay cached in proxy/clients for a long time as the object infrequently change. However I do not wish for the object to stay in the output cache for more than an hour due to server resources and ...
|
| Unable to prevent image caching | 07 Aug 2004 07:25 GMT | 1 |
I have an image whose ImageURL is constant. On the same page is a control that allows the user to upload an image to the location the URL points to. When the user uploads a different image, the image displayed remains the same because the image with that URL has been cached. I ...
|
| Cache Priority for User Controls | 05 Aug 2004 02:23 GMT | 3 |
Is it possible to set a cache priority for user controls in the OutputCache directive? Thanks, Tom
|
| output caching / fragment caching for language specific | 05 Aug 2004 02:22 GMT | 1 |
I am trying to use output caching on a fragment of a page that contains a lot of <%=RM.GetString("blabla")%> statement to handle localization. So I need to make sure that the output cache is caching one version per language. I tried the following code without success: on the aspx, ...
|