Try our conversational search powered by Generative AI!

Output cache and session variables customizing output

We have a form that sets some session-variables that customizes the content of every page. I made the assumption that cache useability is determined by investigation of the HTTP request, and thereby output cache is not to think of, or even dangerous. But since this application will get very high traffic loads; Is there a way that output cache can vary by a value of one or more session variables?
Oct 26, 2005 23:15
Yes there is, by using VaryByCustom.
Oct 29, 2005 20:19
See the following code sample for more information about this:
Nov 01, 2005 11:13
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.