HighTechTalks DotNet Forums  

Fundumental question about Cache intrinsic object

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss Fundumental question about Cache intrinsic object in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
B.J.
 
Posts: n/a

Default Fundumental question about Cache intrinsic object - 07-05-2005 , 09:21 AM






Hi,

May happen follwowing situation ?

String S=Cache["T"];
Response.Write(S); // After writing of e.g. 100 bytes S will null because
server is running out of resources and IIS clear cache. So output will be
incomplete.

May this happen or IIS synchronize access to cache and this can never happen ?

Thank you.



Reply With Quote
  #2  
Old   
Stefan [MSFT]
 
Posts: n/a

Default Re: Fundumental question about Cache intrinsic object - 07-05-2005 , 10:20 AM






Hi B.

this is not a MCMS related question. Please post to an ASP.NET related
newsgroup.

Thanks,
Stefan


"B.J." <BJ (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag
news:30FDB963-F121-4ABD-8397-F3C7144B0F0F (AT) microsoft (DOT) com...
Quote:
Hi,

May happen follwowing situation ?

String S=Cache["T"];
Response.Write(S); // After writing of e.g. 100 bytes S will null because
server is running out of resources and IIS clear cache. So output will be
incomplete.

May this happen or IIS synchronize access to cache and this can never
happen ?

Thank you.





Reply With Quote
  #3  
Old   
Alvin Bruney [MVP - ASP.NET]
 
Posts: n/a

Default Re: Fundumental question about Cache intrinsic object - 07-05-2005 , 10:14 PM



synchronized cache access has nothing to do with it. The cache will be
scavenged when there is memory pressure. Build your applications with that
behavior in mind and you will be fine.

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
"B.J." <BJ (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

May happen follwowing situation ?

String S=Cache["T"];
Response.Write(S); // After writing of e.g. 100 bytes S will null because
server is running out of resources and IIS clear cache. So output will be
incomplete.

May this happen or IIS synchronize access to cache and this can never
happen ?

Thank you.





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.