Thank you for your reply.
It can't be that because it doesn't expire even when I stop the
application. (normally all cache is expired when application ends)
On Jan 26, 8:10 am, "Mark Fitzpatrick" <markf...@fitzme.com> wrote:
> How often is this item being accessed? If it's being accessed at least once
> a minute then it won'texpirefrom thecache. I'm just wondering if there is
> something that could be scanning a file that makes use of this cached item,
> causing it not to drop out of thecache.
>
> --
>
> Hope this helps,
> Mark Fitzpatrick
> Former Microsoft FrontPage MVP 199?-2006
>
> <fnus...@gmail.com> wrote in messagenews:(E-Mail Removed)...
>
>
>
> > Asp.netcacheexpiration isn't working on the host that I've just moved
> > to. Thecachejust doesn'texpire. It's not the code because it works
> > fine on my localhost and at my previous hosting provider.
>
> > HttpRuntime.Cache.Insert(XmlCacheKey,ds,null,Cache.NoAbsoluteExpiration,
> > TimeSpan.FromMinutes(1),CacheItemPriority.Normal,saveData)
>
> > I'm using it as a write-backcachethat saves the in-memory dataset to
> > disk every minute if dirty and also on session end, so it's critical
> > that thecacheexpires.
>
> > I asked my hosting provider if they have disabled expiration using
> > <cachedisableExpiration="false"/> and they said no.
>
> > Is there any other reason anyone can think of why thecachewon't
> >expire?- Hide quoted text -- Show quoted text -
|