Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
05-13-2009, 09:37 AM #1
- Join Date
- Mar 2009
- Thanked 1 Time in 1 Post
Go back one page and refresh that page
I have this kind of a problem in which I add a text to a site with an input field.
The text appears on the same page. When I click submit, if I use go.back(-2)
nothing happened (but really happened, if he would just refresh that page).
pop up the question "page can not be shown unless sending the previous data.."
if I click "send again" the action happens twice: the text is added two times.
If i click "cancel" the action happens once: the text is added one time (ok!).
So How can I remove/change the code so that the browser does not ask that
question and confuse people and double post the inputted texts if clicked "send again"?
Thanks in advance!
Last edited by SystemJay; 05-13-2009 at 09:40 AM.