This JavaScript will refresh the page without reposting the data: window.location = window.location;
On Jan 17, 4:04 am, weheh <richard_gor...@verizon.net> wrote: > I'm using components, not typical web2py way of doing things. > > On Jan 16, 3:51 am, Kenneth Lundström <kenneth.t.lundst...@gmail.com> > wrote: > > > But isn t web2py taking care of this already. Have you tried this double > > posting? If you answer yes on browsers question do you get two sets of > > answer in your database? > > > Kenneth > > > > That is my suspicion, too. > > > > On Jan 16, 2:59 am, Robby O'Connor<robby.ocon...@gmail.com> wrote: > > >> I believe (somebody can correct me if i'm wrong) that this is a browser > > >> issue. > > >> On 1/16/2011 2:22 AM, weheh wrote: > > > >>> Anyone know how to prevent posting on reload? Right after submitting a > > >>> form, if I reload, I'm always asked whether or not I want to re-post > > >>> the previous form values. Is there a way to override this behavior? > > >>> It's probably not a web2py issue, but maybe I'll get lucky ... > >