• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

Programmatically implement <%@ OutputCache Duration="86400" VaryByParam= "None" %>

Hi Experts,

I need to set <%@ OutputCache Duration="86400" VaryByParam= "None" %> in my webpage programmatically.

Thanks in advance for helping me to solve my problem.
0
noulouk
Asked:
noulouk
1 Solution
 
surajgupthaCommented:
U can try using. I havent implemented this though

Response.AddHeader("OutputCache Duration", "86400");
Response.AddHeader("VaryByParam", "None");
0
 
smolamCommented:
This should answer your question:

http://support.microsoft.com/?id=323290
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now