Last post Dec 07, 2005 02:42 PM by RajanSharma
Dec 24, 2004 02:43 AM|ranganh|LINK
Response.AddFileDependency(Server.MapPath(physical root path of the file))
Dec 07, 2005 02:42 PM|RajanSharma|LINK
I am using the file dependency as explained above and also I am using VaryByCustom. So in essence, I have two different strategies...But when I change XML file, it goes and nullify the Cache coz of VaryByCustom.
E.g. the VaryByCustom is based on Session("companyName") and I have two different session for two different companyName. And it's working absolutely perfect. But as soon as I change XML file, and the two sessions are still open, and after changing the XML,
when the refresh this page from different session, I would see just one updated (not from Cache) page. Even for different companyName, I would see just for the last logged in companyName....
Do you know any work around for that...