Old variable value if back button is pressed
Hi,
first of all I hope to provide a clear explanation of the problem I'm dealing with, if not I apologize.
In my fantasy football website I enable users to change only one player from their roster on a weekly basis.
No problem with that: once the new player has been selected, the change is made and the user gets sent to a page confirming that everything went right.
The new roster is shown updated if the user clicks on the "roster" link on the main menu.
A problem arises if the user pushes the browser's back button instead, since the form which enables roster changes becomes available again (and I'll somehow have to make sure that it doesn't), but most of all, if the user presses back again, the page with the original roster is shown, i.e. displaying the player just dropped instead of the newly acquired one.
I guess something must be added at the beginning of the page showing the roster, but I wonder what sort of check it should perform.
Any suggestions ? Do I have to provide code ?
Thank you
Giovanni
