Is there an easy way to transfer a page POST content to the next page?
Right now I read out the POST content in the PHP script and put it in a
html form (with POST as content type) as a hidden field, but I am
wondering if there isn't a nicer solution to do this. I need this
functionality so that the user is able to re-login if for some reason
his/her session got lost. This happens every now and then when the user
is completing a form and hence the need for re-submitting the form data
after logging in again. The form also contains arrays, so I have to
iterate through all of them which is okay, but I assume that there is a
much nicer and cleaner way to do is, I just have not found it yet so I
need your help.
Thanks in advance,
cj.
Right now I read out the POST content in the PHP script and put it in a
html form (with POST as content type) as a hidden field, but I am
wondering if there isn't a nicer solution to do this. I need this
functionality so that the user is able to re-login if for some reason
his/her session got lost. This happens every now and then when the user
is completing a form and hence the need for re-submitting the form data
after logging in again. The form also contains arrays, so I have to
iterate through all of them which is okay, but I assume that there is a
much nicer and cleaner way to do is, I just have not found it yet so I
need your help.
Thanks in advance,
cj.
Comment