- Edited
My problem:
I often close tickets from the open tickets list. After that I open another ticket and often want to go back to the list of open tickets by using my browser's back button (resp. the button on my mouse).
Now my browser asks: Send form data again?
Firefox wants to close the tickets previously closed once more since after successfully closing the tickets the list of tickets was shown again without further ado:
on tickets.php: selecting tickets to be closed
submitting form via "close"-button: action="tickets.php"
tickets are closed
list of tickets (tickets.php) shown again with box "n of m selected tickets closed"
From my point of view this could be done better:
on tickets.php: selecting tickets to be closed
submitting form via "close"-button: action="tickets.php"
tickets are closed
header redirect to tickets.php?showmessage=n+of+m+selected+tickets+closed
tickets.php interprets the parameter to be displayed as info box
list of tickets (tickets.php) shown again with box "n of m selected tickets closed"
Advantage: You can simply use your browser's back and forward buttons without submitting the POST-forms again and again.
Of courese this is only action where this behaviour would be great, in general it could be used for all the submit forms (after success).
Kind regards
Phil