I've been working on a PHP project where I'm using the `$_POST` variable to pass data to a new page upon form submission. However, I've come across a little issue. Whenever I refresh the page after submitting the form, the data from the `$_POST` variable persists.
I want to find a way to delete the `$_POST` variable upon pressing the "Refresh" button on the browser, so that the data doesn't stay there after a refresh. Is there a way to achieve this in PHP?
I would really appreciate any insights or advice you can provide. Thank you in advance for your help!