Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / July 2004

Tip: Looking for answers? Try searching our database.

HttpContext.Cache....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James - 09 Jul 2004 11:22 GMT
If I have set the session state for an asp.net application to be out of
process how does this affect the HttpContext.Cache? What I want to know it
is possible to store the Cache out of process as well?

Because I read in MSDN that:
One instance of this class is created per application domain, and it remains
valid as long as the application domain remains active. Information about an
instance of this class is available through the Cache property of the
HttpContext object or the Cache property of the Page object.
Kevin Spencer - 09 Jul 2004 12:43 GMT
No. It is not possible to configure the location of the Application Cache.

Signature

HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

> If I have set the session state for an asp.net application to be out of
> process how does this affect the HttpContext.Cache? What I want to know it
[quoted text clipped - 5 lines]
> instance of this class is available through the Cache property of the
> HttpContext object or the Cache property of the Page object.
bruce barker - 09 Jul 2004 17:14 GMT
HttpContext.Cache is tried to the request not the application or session.
Its created at start of request and destroyed at end. it supplies a way for
code and http modules to pass request data around.

-- bruce (sqlwork.com)

> If I have set the session state for an asp.net application to be out of
> process how does this affect the HttpContext.Cache? What I want to know it
[quoted text clipped - 5 lines]
> instance of this class is available through the Cache property of the
> HttpContext object or the Cache property of the Page object.
Scott Allen - 09 Jul 2004 18:51 GMT
Bruce:

Are you positive you are not thinking of HttpContext.Items?

The Cache is around for the duration of the application domain, the
Items collection is around just for the request.

--
Scott
http://www.OdeToCode.com

>HttpContext.Cache is tried to the request not the application or session.
>Its created at start of request and destroyed at end. it supplies a way for
[quoted text clipped - 13 lines]
>> instance of this class is available through the Cache property of the
>> HttpContext object or the Cache property of the Page object.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.