smallpotato
IS-IT--Management
Hi, I have some qns about page cache with "VaryByParm" & "VaryByCustom".
At first, I use the page directive to set the output cache with "VaryByParm" on all query variables. The pages work fine.
Then, I changed it to set them at code behind. Since the page cache need to be depend on some session var, I'm trying to make use the "VaryByCustom" but the session info can't be obtained at the global.asax.
Any ideas on how to make this?
Thx in advance.
At first, I use the page directive to set the output cache with "VaryByParm" on all query variables. The pages work fine.
Then, I changed it to set them at code behind. Since the page cache need to be depend on some session var, I'm trying to make use the "VaryByCustom" but the session info can't be obtained at the global.asax.
Any ideas on how to make this?
Thx in advance.