Output cache and session variables customizing output

Vote:
 
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?
#12409
Mar 25, 2008 18:34
Vote:
 
Yes there is, by using VaryByCustom.
#14217
Mar 25, 2008 18:44
Vote:
 
See the following code sample for more information about this: http://www.episerver.com/templates/CommunitySample____4664.aspx
#14218
Mar 25, 2008 18:44