How do I make Firefox reload page when back button is pressed?

后端 未结 7 1776
萌比男神i
萌比男神i 2020-12-17 21:40

I have tried every combination and permutation of meta tags that are supposed to stop a page from being cached, but Firefox STILL caches the page! I just need the U

7条回答
  •  难免孤独
    2020-12-17 22:38

    You posted a comment:

    It is because once the form has been submitted, IF the user presses the back button, the information they are viewing will be inaccurate.

    If you want to prevent this you're doing it wrong! :)

    What you need to do is a redirect when the form has been submitted.

    
    

提交回复
热议问题