1

我已经通过许多论坛来解决MVC 3中后退按钮的解决方案。当我点击后退按钮时,上一页不显示,但刷新时显示。我尝试过:

response.setHeader( "Expires", "0" );
// set standard HTTP/1.1 no-cache headers (post-check and pre-check for IE)
response.setHeader( "Cache-Control", "no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=0, proxy-revalidate, no-transform, private");
// set standard HTTP/1.0 no-cache header
response.setHeader( "Pragma", "no-cache" );

但仍然没有线索。你能告诉我如何请求浏览器刷新或从服务器获取数据吗?

4

0 回答 0