Force page to reload from server instead of load the cached version

前端 未结 6 473
温柔的废话
温柔的废话 2021-01-02 04:20

I have webpage A. The user clicks on a form to submit data, and it takes him to webpage B. When he clicks the back button, I need webpage A to be refreshed from the server,

6条回答
  •  遥遥无期
    2021-01-02 05:20

    Your JavaScript should be...

    window.location = "/****/****/*****.php"
    

    I think that should fix your loop.

提交回复
热议问题