Closed
Description
Describe the bug
I use previous_url() for a "Go back" button. The page sometimes needs to be reloaded. After reloading, the button's href is no longer assigned the original previous_url, but the current URL -- hence the back button does nothing.
CodeIgniter 4 version
4.1.1
Expected behaviour, and steps to reproduce if appropriate
I'd expect the previous_url() value to be retained after I reload the page. For example, clicking the "back" button on the browser doesn't care that I've reloaded the page; it takes me to the previous page.
Context
- OS: MacOS 11.1
- PHP version 7.4.9
Activity