Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

Does ASP.net OutputCache work across user sessions?

I have a .Net 2.0 site and am investigating caching.  Using the OutputCache directive seems to work well but there is one thing I am unsure of.

Consider two website users UserA & UserB.  If UserA browses to a page with OutputCache turned on, the server executes the code caches the HTML in the page.

If UserB then requests the same page, does the server have to re-execute the page (because it is a different user) or does it use the same cached copy from when UserA accessed the page?

So I guess what I am asking, is OutputCache tied to a User Session or to the Application?
1 Solution
Its tied to the application
wilsonrxAuthor Commented:
Thanks amx.  I hoped thats what the answer was!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now