页面是frame框架 
 我把数据更新后,前台是用gridview显示(这里正常), 并在点击这一行数据的时候读取swf文件显示在FlexPaperViewer中,但是当我点击这一行显示内容的时候,前台的显示却还是旧文件的内容,我怀疑是页面缓存或IE临时文件的问题, 然后我手动删除IE internet临时文件后就正常了  现在想寻求删除internet临时文件代码该如何写 

解决方案 »

  1.   

    js不能做这些。给url加时间戳就行了
    "xxxx.xxx?_dc="+new Date().getTime();
      

  2.   

    因为我那个页面是更新上传的 没有跳转 它那个是直接把数据更新过去然后关闭当前页面   所以不好加时间戳
    我现在是用的下面的这个清空缓存   但是现在有点小问题  就是在清空的时候 那个进度条可以隐藏麽?
     RunCmd("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8");  //Temporary Internet Files  (清空Internet临时文件)
            public void RunCmd(string cmd)  // RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8    
            {
                System.Diagnostics.Process p = new System.Diagnostics.Process();
                p.StartInfo.FileName = "cmd.exe";
                // 关闭Shell的使用
                p.StartInfo.UseShellExecute = false;
                // 重定向标准输入
                p.StartInfo.RedirectStandardInput = true;
                // 重定向标准输出
                p.StartInfo.RedirectStandardOutput = true;
                //重定向错误输出
                p.StartInfo.RedirectStandardError = true;
                p.StartInfo.CreateNoWindow = true;
                p.Start();
                p.StandardInput.WriteLine(cmd);
                p.StandardInput.WriteLine("exit");
            }
      

  3.   

    RunCmd("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8");....这个是清空服务器的,和客户端没关系,因为你机子测试,所以有效果,别的电脑访问服务器就不行了所以你得修改你的代码,js无法清空客户端缓存的