[web2py] Re: prevent post on reload

2011-01-16 Thread Russell
This JavaScript will refresh the page without reposting the data: window.location = window.location; On Jan 17, 4:04 am, weheh wrote: > I'm using components, not typical web2py way of doing things. > > On Jan 16, 3:51 am, Kenneth Lundström > wrote: > > > But isn t web2py taking care of this alr

[web2py] Re: prevent post on reload

2011-01-16 Thread weheh
I'm using components, not typical web2py way of doing things. On Jan 16, 3:51 am, Kenneth Lundström 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 > >

Re: [web2py] Re: prevent post on reload

2011-01-16 Thread Kenneth Lundström
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 wrote: I believe (somebody can correct me if i'm w

[web2py] Re: prevent post on reload

2011-01-16 Thread weheh
That is my suspicion, too. On Jan 16, 2:59 am, Robby O'Connor 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 alwa