November Happy Hour will be moved to Thursday December 5th.

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
Oct 26, 2005 23:15
Vote:
 
Yes there is, by using VaryByCustom.
#14217
Oct 29, 2005 20:19
Vote:
 
See the following code sample for more information about this: http://www.episerver.com/templates/CommunitySample____4664.aspx
#14218
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.