Click here to Skip to main content
12,078,489 members (45,564 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: IE6.0 IE7 C# ASP.NET Javascript WCF , +
Dear Sir,


what is the problem in internet explorer for insert new records not display...

now i clear the cookie and history files from IE then display otherwise it will not display.

please how to solve this problem using c#,JavaScript,Asp.net,

By mohan.

Other browser are working Well.
Posted 2-Mar-12 2:44am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Try this
public static void DisablePageCaching()
{
 
//Used for disabling page caching
HttpContext.Current.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
HttpContext.Current.Response.Cache.SetValidUntilExpires(false);
HttpContext.Current.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Cache.SetNoStore();
 
}
  Permalink  

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


Advertise | Privacy | Mobile
Web04 | 2.8.160212.1 | Last Updated 2 Mar 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100