PHP’s Header Function, IIS and FastCGI, and POST variables

On a recent project, I was submitting a web form to a page, processing the POST variables, then redirecting to the same page. The server is IIS running in a FastCGI environment. I found that the POST data existed within the PHP environment after the redirect. Here is some test code: <?php ob_start(); session_start(); if(isset($_GET[‘redirect’])){ Read more about PHP’s Header Function, IIS and FastCGI, and POST variables[…]