Hey,
I have been putting together a form that is a bunch of steps (something stupid, 12 or so).
Anyways, it works totally cool on my local machine. (I have IIS running with PHP 4.1.1) The server that I am uploading to is Linux (redhat) with PHP 4.0.6.
Both have Sessions enabled and both have the exact same settings (I looked in with phpinfo()😉
Now, are there settings that have been altered between those versions? Or are there OTHER settings that effect sessions?
/-------/ Start Code /-------/
session_start ();
foreach ($HTTP_POST_VARS as $key => $value) {
$HTTP_SESSION_VARS[$key] = $value;
} // End of session set IF statement
/-------/ End Code /-------/
Here I set the session variables straight from the post variables... which, for now, is fine.
Then I have the next step, and it does the same thing... posts (with the PHPSESSID as a hidden field) the next form of information into the session. The problem that I am having... is if I LINK (href) back to one of the previous pages (with the PHPSESSID in the link) it loses ALL the session data. It is pretty much ignoring the PHPSESSID in the link.
I am not sure if I am doing something wrong, if anybody is willing to give me a hand... I can give a URL to what I am working on.
Thanks in advance,
-Travis