Page 1 of 1

POST AJAX requests

Posted: Thu Sep 16, 2010 10:44 am
by geetah
What's the difference between GET and POST AJAX requests? I've always done GET requests regardless, but I think I should probably look into it :P .The first question is if GET can be used for passwords. I know that it's generally considered best practice to use POST for password forms, but isn't this a bit different? Or am I wrong?
___________________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite

Posted: Wed Sep 22, 2010 4:01 pm
by Pada
GET data usually gets logged in the access logs, where as POST data won't.

You can hand out URL's that include GET data, but not POST data.
POST data is also used for uploading binary data.

So I would say that you should always use POST data for private/sensitive stuff or for forms, but GET is fine for everything else.

Posted: Wed Sep 22, 2010 6:22 pm
by curtishall
Pada wrote:GET data usually gets logged in the access logs, where as POST data won't.

You can hand out URL's that include GET data, but not POST data.
POST data is also used for uploading binary data.

So I would say that you should always use POST data for private/sensitive stuff or for forms, but GET is fine for everything else.
Do not feed the spam bots!

Posted: Wed Sep 22, 2010 6:32 pm
by Pada
Thanks for the heads up. It really didn't seem like a spam bot, since the user was created more than 10 days ago.

Posted: Wed Sep 22, 2010 9:45 pm
by mastertheknife
Wow, i had no idea he was a spam bot either. Those spam bots are getting more and more clever everyday. Maybe its time to make forum registration harder in an attempt to filter out the bots.