S
Sudhir Sharma
guys,
I have this code in my .aspx file.
<%@ OutputCache Duration="500" VaryByCustom="OrganizationID" VaryByParam="None"
%>
and I have overriden the method "GetVaryByCustonString()" in my global.asax.cs
file. whenever the organization is changed for the Page, it should invalidate
the Cache and show the new information based on the organization. it is not
doing that.
I put the breakpoints in the code.It is hitting the "GetVaryByCustomString()"
only for the first 2 times. after that it is not going to it. and it is showing
the Cached page again and again.
Is there any way to Invalidate the Page Output before the Desired time (
in this case it is 500 secs).
any help is appreciated.
Thanks
Sudhir Sharma
I have this code in my .aspx file.
<%@ OutputCache Duration="500" VaryByCustom="OrganizationID" VaryByParam="None"
%>
and I have overriden the method "GetVaryByCustonString()" in my global.asax.cs
file. whenever the organization is changed for the Page, it should invalidate
the Cache and show the new information based on the organization. it is not
doing that.
I put the breakpoints in the code.It is hitting the "GetVaryByCustomString()"
only for the first 2 times. after that it is not going to it. and it is showing
the Cached page again and again.
Is there any way to Invalidate the Page Output before the Desired time (
in this case it is 500 secs).
any help is appreciated.
Thanks
Sudhir Sharma