I would like to find a solution that I can use in situations where I don't want the user to be able to use the back button on the browser and see old content. The reasons for this are many. The current view might have changed data on the old pages, so if the user uses the browser's back button he might not get the updated content.
This must be a big problem/annoyance for every web developer. How can it be solved in a good way? I know making server side validation could prevent the user from pressing something etc, but that does not fix all of the problem.
I supposed there are ways to prevent caching of content, but can this be done only for certain pages?