Expand|Select|Wrap|Line Numbers
- <% System.Web.HttpContext.Current.Response.AddHeader( "Cache-Control","no-cache");
- System.Web.HttpContext.Current.Response.Expires = 0;
- System.Web.HttpContext.Current.Response.Cache.SetNoStore();
- System.Web.HttpContext.Current.Response.AddHeader("Pragma", "no-cache");%>
But in run time following error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Code blocks are not allowed in this file.
Please help me on this.