php - unset variable done before it should unset -
I have a peace of this code, which I do not understand is that it is not working due to my work is. This is not the behavior that I expect to do, what am I doing wrong? does not stop execution of a header redirect script, hence is unset
post it redirects and resonance is not
but I hope it
done .
{$ _SESSION ['reg'] = "done"; Header ("Location:". Self, true, 302); ($ _ Session ['reg']) and ($ _SESSION ['reg'] == "done"))) () (without set ($ _ session ['reg']; echo "finished"; } Else {Echo "did not";}? & Gt;
Comments
Post a Comment