Sorry, I probably worded my question wrong.

I am creating a 10 step (or so) form that is non-linear... The user
enters all of their information and is able to go back and change
information that they have filled in. So I have the form (POST)
information set into session variables as soon as they click "Next" in
the form. Well, with 4.1.1 there were no problems... It ALL worked
perfectly. But unfortunately, in 4.0.6 it doesn't act the same.

I just have a foreach loop go through all the POST variables and make
them into SESSION variables,

------- Snippet -------
start_session();
foreach ($HTTP_POST_VARS as $key => $value) {
        $HTTP_SESSION_VARS["$key"] = $value;
}
------- End Snippet -------

Easy enough... Now, I have all the 10 steps linked to on the side bar.
<a href="step1.php?PHPSESSID=$PHPSESSID">Step 1</a>

But for some weird reason, those links BLANK all the session variables.
I tested this by doing a count() on the HTTP_SESSION_VARS array. And as
soon as I click one of the Step links on the side, it clears all of
them. I am not sure if I am doing this wrong, but it works fine (as I
said) in 4.1.1.

Another problem that I seem to be having... Is that 4.0.6 almost seems
like it is maxing out with a certain number of SESSION variables. Once
it has so many, it just starts over.

I will just post the link here tomorrow, unfortunately I don't have the
files on this computer.

I hope this is a little more clear.

Thanks,
-Travis



-----Original Message-----
From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 04, 2002 6:11 PM
To: [EMAIL PROTECTED]; Travis Simpson
Subject: [PHP] Re: Changes in Sessions (PHP Versions)


Travis Simpson wrote:
> Hey,
> 
> I am just wondering if there were any changes done to the session 
> "engine" or settings between PHP 4.0.6 and 4.1.1.
> 
> I have been getting nothing but grief from 4.0.6 and 4.1.1 seems to 
> work fine.
> 


What did work with 4.0.6 and what didn't with 4.1.1?

If you are trying to use mm/msession save handler, it's broken somewhat.

-- 
Yasuo Ohgaki
Please CC me when you reply to news/list messages.
Do not reply only to me :)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to