I hope this is a simple one to answer, and I'm pretty sure everone has gone through this.
When a user is on my site and he/she does things back and forth, everynow and then he/she will hit the back button and a previously done action occurs again.
Let's say the user sends a message to another user through an interface I wrote, but after it's sent, the user clicks the back button and the message is sent again! Also, and I know most of you have seen this, the user will get the infamous "Page Expired" error and is instructed to refresh the page by sending the post variables again.
How do I control this? How can I make sure that the back button will not have a previously done action happen again?