Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Refreshing page creates multiple entries....

phpMyEdit Configuration     Refreshing page creates multiple entries....
Odoslať novú tému   Odpovedať na tému    
 
jestapher     Založený: 09.06.2003   Príspevky: 5  
Príspevok Zaslal: 2003-06-09 15:35
Návrat hore  Odpovedať s citátom     

When you refresh, you are POSTing the form a second time. If your table does not have a unique field (not including auto_increment fields) it will add another record. The real solution is to not refresh. Try pasting in the default URL, then refreshing. That way you won't be POSTing the form a second time.

You can also, as you suggested, create a unique database field. In that case, your duplicate POST should generate a MySQL error.

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-06-09 15:58
Návrat hore  Odpovedať s citátom     

Well, if someone has good advice how to deal with this problem, I'm hearing you. Basically, this is NOT the problem of phpMyEdit, this is problem of browser or HTTP protocol.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov