I've noticed this issue in my form. When the script checks for empty fields, if it finds any, it exits using die("empty fields found");. But the problem is that afterwards all the values that where inputed by the user are removed and I get a blank form with the error underneath it.
Is there any way for the form to stay filled after the die()?
IF you use sessions then in order to assure that the scripts will not be "confused" you will just need to start by adding on the first script an "IF" to check if incoming inputs from the landing page are from POST or SESSION then on the landing page if isset and !empty $_POST['my_stuff']; create your my_stuff session