I encounter a strange occurrence with posting information through Ajax. The script is nothing complex
$.post('somefile.php?arg1=somearg&ar2=somearg', {
somearg: variable,
...
}, function(response){});
The weird part is when clicking the save button for 1st and 2nd time, the server throws and error that $_POST is empty. But when clicking for 3rd and 4th time, it works, without modifying anything on the page.
I know about the php config post_max_size or upload_max_size, it's not a problem and the data is very few.
Please help.