Refresh Page on Back Click - MVC 4

前端 未结 3 667
南旧
南旧 2021-02-04 14:19

What would be a simple way to force my ActionResult to always fire when I hit this page? On browser back click, for instance, this will not execute.



        
3条回答
  •  广开言路
    2021-02-04 14:38

    You could try the onunload event and ajax:

    
    

提交回复
热议问题