I understand that if a POST request exceeds post_max_size, the $_POST and $_FILES superglobals become empty.
I've seen plenty of discussions about how to detect this scenario, but never an explanation of why the superglobals are empty. It seems really odd to me to wipe out the POST data, forcing the user to reenter their answers. Is it a security precaution perhaps?
Curious about other languages (java, .net). Do they behave similarly?
Thanks