This is turning out to be an elusive one! Notes: 1) I don't think I'm using an old web2py.js, unless it is accidentally being packaged with the latest source. 2) weheh: Nope, no uploading involved - all the code is above. 3) I guessed it is related to the multiple forms issue since the behavior seems similar. In particular, it usually happens for a first submit, and it happens with forms on different tabs.
I've now reproduced this with a variety of web2py versions (*including trunk *), servers & browsers. I've uploaded the minimal example to my production server (web2py version 2.3.3, nginx), so give this a try: 1) go to http://www.ai-therapy.com/ajax_test/ 2) enter something in Form 1, and press submit 3) did it work *the first time*? (the second, and subsequent, submit usually works for me) 4) if I clear the cookies and restart the browser, the first submit fails about 50% of the time. I've now seen it happen with chrome, fireforx & IE. Does that give any clues? On Monday, 22 April 2013 12:24:14 UTC+1, Anthony wrote: > > I had already tried something similar, and now I have tried your exact > code, and I cannot reproduce the problem (running from trunk with Rocket on > Windows 7). Is it possible you are using an old version of web2py.js? > > I've been playing around with it a bit more, and it seems to be the same >> underlying problem that Anthony described above. >> > > What do you observe that leads you to that conclusion? > > Anthony > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.