The Carrot Project

HTTP post warning

I just got a warning about re-posting data when clicking the back button to return to the Home >> Feedback page. I’m not quite sure how this happened but I probably posted feedback, then clicked on some other link, then clicked the back button. Maybe this page doesn’t do a Post/Redirect/Get (http://en.wikipedia.org/wiki/Post/Redirect/Get). Can this be implemented for all site post operations?

Comments

I’m having trouble recreating the issue. Maybe a Safari browser glitch. I’ll keep trying.

We do redirect after POST everywhere, including the Feedback submission. The previews don’t redirect, though, so if you navigate away from a previewed feedback without posting it, it seems possible you might get this (though I’m not actually able to reproduce even that in my testing just now, not sure why). In any case I’m not too concerned about the previews; navigating away from a preview isn’t likely to be too common, and reloading a preview doesn’t cause double-posting of anything anyway.

Definitely comment here if you’re able to reproduce this, and have any more detail on how.

Login or register to comment:

New here? Register

User

Already a member? log in

reset your password or