I'm writing a script that gathers user data (reg.php). It's being done in steps using session management. At some point, I user needs to upload his photo. Than the script reg.php calls
reg_upload.php. Normaly, PHPSESSID is passed in a hidden field in a form (to avoid browsers with cookies disabled).
The problem is when I need to redirect user from reg_upload.php to reg.php. The only way to do this is by calling
header("Location: reg.php?PHPSESSID=$PHPSESSID&step=6");
What I need is the way to embed PHPSESSID and 'step' variables using POST method, so I can avoid appearance of a 'sossage' in Location bar of a browser windows. It can confuse visitors.
Thanks in advance...
coyote