This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Resubmitting Refresh Problem  RSS feed

 
gopi thulasidoss
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends and respective Owners

How to avoid form resubmission when REFRESH clicked.
<form name="myForm" method="POST" action="Mt.do">
......
.....
<input type="hidden" value="EVALUATE_TEST" name="action">
<input type="submit" value="EVALUATE_TEST">
</form>

when i click the refresh button, the form resubmit the hidden variables..

Even Javaranch fails

when i refresh the forgot password page it resubmits the page,
i got 5 respond pages to my mail

how to solve this..............

[ May 09, 2008: Message edited by: gopi thulasidoss ]
[ May 09, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this article, paying particular attention to the Post-Redirect-Get pattern.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!