Etsi tuesta

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Refresh key (F5) working funny

  • 2 vastausta
  • 2 henkilöllä on sama ongelma
  • 1 näyttö
  • Viimeisin kirjoittaja Col_Boogie

more options

I have a form with multiple submit buttons. On click, each button sets a cookie to a different value, which changes what the invoked PHP will show. When in the next screen, when I press F5 (or refresh icon) it looks like Firefox is going back to the prior screen and acting like the first button was pressed (changing the cookie value). I tried this on other browsers and all have the same error. Does not make sense to me, I may try a few workarounds.

I have a form with multiple submit buttons. On click, each button sets a cookie to a different value, which changes what the invoked PHP will show. When in the next screen, when I press F5 (or refresh icon) it looks like Firefox is going back to the prior screen and acting like the first button was pressed (changing the cookie value). I tried this on other browsers and all have the same error. Does not make sense to me, I may try a few workarounds.

Valittu ratkaisu

Sorry, this was my coding error. In rewriting (generalizing) another program I changed the cookie to the weing key - withdraw problem

Lue tämä vastaus kontekstissaan 👍 0

Kaikki vastaukset (2)

more options
more options

Valittu ratkaisu

Sorry, this was my coding error. In rewriting (generalizing) another program I changed the cookie to the weing key - withdraw problem