Hi Guys

This is my first post. firstly i would like to congratulate everyone
who helped make prototype awesome!

Secondly I have a very strange problem, I would consider myself very
well versed with Prototype (been using it more than one year)

It appears my ajax request's stop executing after 20-30 seconds of the
previous ajax request (not page load).
I have debugged this and found out that prototype does indeed have the
parameters and sends it successfully (without errors), but my server
side handler (a jsp) returns all request.getParameter("variable")
calls null.

if I then start clicking the button that makes the ajax request
quickly in succession, it starts receiving the parameters again?

this only happens when using the post method which in turn sends using
xmlhttp.send(postBody). also if i manually append the parameters to
the url and use xmlhttp.send(null), everything works as expected

This only affects internet explorer, other browsers work perfectly.
this made me think that the underlying XMLHttpRequest object has a
problem.

Unfortuntally i do not have the neccesarry skill to continue debugging
further. Can anyone please assist me with this?

here is a code example of how I can create the problem automatically
(with IE) :

            var xu = function(o) {
                new Ajax.Request('AjaxComponentServlet', {
                    parameters: {
                        action: 'TESTER ' + o + ' ' + new Date(),
                        random: Math.random()
                    },
                    method: 'post'
                });
                window.setTimeout('xu(' + (o + 1) + ')', (o*10000));
            }

            Event.observe(window, 'load', function() {
                window.setTimeout('xu(1)', 1 * (1000 * 10));
            });

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to