4

I tried all the available solutions that I searched here in stack overflow and other resources but some are working and others aren't. I tried this code below.

window.history.forward(0);

I tried also to add setTimeout. My problem is that whenever I click the back button, the previous page is still displaying for milliseconds and back to my current page. Is there a way if I click the back button, it just reloads/refreshes? either in client/server side. Thank you.

Christel Junco
  • 113
  • 1
  • 13

0 Answers0