I am writing the administration part of a PHP application. Here, the admin can query for a list of users. From the list of users, admin can choose to edit a particular user.
Here is the problem: when admin choose to edit a user from a list, it will direct admin to a new edit page. Now if the admin click on the back button from the browser, they will get the error page: "Warning: Page has Expired. The page you requested was created using information you submitted in a form. This page is no longer availble. ....."
This is because in my html header, i force it to have no-cache
header("Cache-control: no-store, no-cache, must-revalidate")
If I comment this out, then it works fine.
My question is: Is it safe or good idea NOT to use header above to clear cache?
Anyone has knowledge about this can tell me more about this. I am kind new at this.
Thanks