471,356 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

Outputcaching - varybycustom problem

Hi,

I am overriding the GetVaryByCustomString function in global.asax, and I am
trying to vary by a session variable or a Context.Handler member.... when I
try to do either, the caching does not work and reloads the page everytime.
When I hard-code a return string, (ie, "vary=2") it caches and works fine.

What is accessible to me without problems from within the
GetVaryByCustomString? I would really like to vary by a session variable.

Thank you.
Jul 21 '05 #1
0 1005

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.