在任务中需要实现点击浏览器back按钮,加载的前一页面需要强制刷新.

想要在前端通过js来绑定数据实现,但是觉得太麻烦,还是用另一种方式来解决: 不缓存该页面。

简单易懂:

Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();

 

相关文章:

  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2021-12-12
猜你喜欢
  • 2021-06-20
  • 2021-10-23
  • 2022-02-23
  • 2022-02-11
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案