/    Sign up×
Community /Pin to ProfileBookmark

Ajax Posts vs Firewalls

A user of mine reported a strange error where one of the Ajax calls is not returning data while others are. The only difference I can see is that the Ajax calls that work are using ‘GET’ and the one that doesn’t is using ‘POST’. Using google I was able to find someone that had a similar issue but there was no reasoning why. Obviously I can just change it from a POST to a GET and see if that fixes things, but I was wondering if anyone else had seen this before or knew why it would be happening with some firewalls.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Declan1991May 29.2008 — I'd say is that it has to do with the PHP script using the $_GET superglobal instead of the $_POST superglobal.
Copy linkTweet thisAlerts:
@GSharpauthorMay 29.2008 — I'd say is that it has to do with the PHP script using the $_GET superglobal instead of the $_POST superglobal.[/QUOTE]

I'm not using those globals... the Ajax calls work fine for 99% of my customer base (myself included) which is why I am thinking it is a firewall issue. The Ajax is being called correctly it just seems that the data is not being returned.
×

Success!

Help @GSharp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...