Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Can we do part of page not to CACHing

C#
[OutputCache(Duration = int.MaxValue, Location = OutputCacheLocation.ServerAndClient, SqlDependency = "ChocolateDB:tblCategoryMaster")]
    public ActionResult Index()


HTML
  <div class="MEnusDiv">
                        @if (Session["UID"] != null)
                        {
}
</div>


i have done full page caching that's why after login also menu are not showing after login i am adding user specific Menu like change passwd update profile
Posted
Updated 25-Apr-14 21:07pm
v2
Comments
Sampath Lokuge 26-Apr-14 2:59am    
Your question is not clear.Can we have more info ?
Member-515487 26-Apr-14 3:07am    
i have done full page caching that's why after login also menu are not showing after login i am adding user specific Menu like change passwd update profile

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900