actually to be able to reproduce it, we need to add a redirect in the code.... (and a slow computer.... I can reproduce it easely with a netbook) but, apart from the experiments that I was doing, I cannot think on any real situation when we would need to use a redirect inside an ajax call... so probably we could just forget it.... at least that we can find any situation which needs a redirect inside the same call....
On Tue, Jun 14, 2011 at 5:21 PM, Anthony <[email protected]> wrote: > On Tuesday, June 14, 2011 6:42:34 AM UTC-4, sebastian wrote: >> >> >> tracked http://code.google.com/p/web2py/issues/detail?id=304 > > > I implemented the code you posted and cannot reproduce this problem. I > don't have a slow internet connection, so I simply introduced a 5 second > wait to delay each request. Also, I'm not quite clear on how your code is > supposed to work. In step #2, is the view supposed to be 'testajax.html' -- > so /app/default/testajax.html is the main page loaded, and then that page > contains testajax.load as a component? And in step #3, the testajax.load > view only includes a link, but does not include the 'txt' variable -- is > that how it's supposed to be (in that case, the component only includes the > link, and when you reload it, it simply reloads the link)? Anyway, I went > ahead and added 'txt' to the .load view as well, and it didn't make any > difference. > > Anthony > -- Sebastian E. Ovide

