Check if your server returns a 301 or 302 response code if it does then the ajax data is lost due to the redirect (security issue).
"301 Redirects lose contents of the POST. So jQuery is sending it along, but the server redirects it to the right location of the script without the POST data. You need to figure out where the right location of the script is and specify that in your jquery call to avoid the redirect"