HttpContext.Cache....

  • Thread starter Thread starter James
  • Start date Start date
J

James

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.
 
No. It is not possible to configure the location of the Application Cache.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
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)
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top