View Full Version : Logging my AJAX connections

Dennis L
21 Oct 2010, 2:17 AM

I want to log the URLs which AJAX calls and the response of this calls. I tried to find the file and the line in the code.

But i am not sure. Can anyone tell me explicit the file and the line where EXT calls something like this:

xmlhttp.open( "GET", this.url, true );that I can add:

trace( "Query: " + this.url );

trace( "Response: " + print_r( eval( "(" + xmlhttp.responseText + ")" ) ) );

I want to check the server queries in my system.

Thank you,
greets Dennis

21 Oct 2010, 2:24 AM

Dennis L
21 Oct 2010, 4:02 AM
Hi Animal,

thx for your answer.

We check out many frameworks at the moment and after that we want to decide which one is the best for us. That is the reason why i am not good in ext js.

Can you show me a little example code, how to alert all ajax queries with ther responses, please?

greets Dennis

21 Oct 2010, 4:12 AM
That actually does have example code which logs Ajax calls!

Dennis L
21 Oct 2010, 4:32 AM

i think this short conversation is enough for my decision. I cant find an option to delete my account. If there is no one, please do that for me. Else tell me how to delete my account, please.

Thank you.

21 Oct 2010, 4:36 AM
Really? You could not even open the docs which contain example code which does precisely what you want?


Good luck with finding software that will do what you want by just waving your arms at it.

Dennis L
21 Oct 2010, 4:55 AM
I cant find the part on your image in the documentation and that was my problem. Now i can read it on your image and this will help me.

Now I see the principle way to work with the EXT events.
Now I see on your image that I can click on the mini arrow to open a box with examples.

Sorry for my overreaction. I hope you understand that I could not work with your first answer without to know that I can click on the arrows to open examples.

I will try it again now.


21 Oct 2010, 5:06 AM
Sorry for my overreaction...

s'OK, I've been know to do it too!