Question on internet double posting...
I understand there are various ways to detect a double post and prevent the action (such as a purchase or data change) from happening twice. However, is there a nice way to get the user back to the page they double posted from?
For instance, some prevention techniques will send the user to an error page warning them they submitted their data twice, meanwhile the thread that was processing the original post is still running and returning it's results to nowhere since the user has been moved to a new page. Is there a way around this issue? Am I explaining it clearly enough?
thanks
[605 byte] By [
den2681a] at [2007-11-26 13:04:03]

let me clarify a bit... what i'm basically after is a way to eat the double post (thus ignoring it, i can do this part) and put the user in a clean state where they can still receive the result of the original post. or, is it the case that once the double post is executed the user cannot ever get back to that original request?
also, i know there are javascript solutions to this problem, such as preventing button presses and so on, but i'm after a java solution.
1) I'd recommend a totally different approach to the whole forum, say, Ruby/Ajax on Rails.2) As Norweed said, it differs. I'd personally have a database (again, Rails sounds good), and the posting thread checks in before posting.