jquery-pjax
jquery-pjax copied to clipboard
Version changing between POSTs results in loss of POST data
Reproducing results
- Load a multi-step form
- Submit to go on to the second step
- Change
version
sent in response header - Submit to go on to third step
Expected results
- POST data from first/second step should be retained
Actual results
- POST data from first/second step is lost
A possible solution would be to send the version
in a request header, require the server to check it before processing POST data (perhaps with a flag via response header to avoid repeating actions), and then resubmit the POST data the old-fashioned way. (See #357.)