Wednesday 01 November 2006 10:20:22 am
Upgrading to the latest version of eZ turned out to not be the solution to my problem (now on 3.6.11). I was misunderstanding how eZ was handling session information; this helped me clear up one issue. However, my primary issue remains. Here is the flow step by step. 1. End up on page /foo. This page contains a form. 2. Plug in values into the form and submit. 3. The form submits to the same page, /foo. 4. /foo detects that the form has been submitted and calls function validate() 5. Based on the form data, validate() sets certain session variables. 6. validate() finally does a header("Location: /bar"); 7. Arriving at /bar shows that the session variables have vanished. I've put debug statements nearly everywhere. In between steps 5 & 6, I dump out the entire $_SESSION variable to a log file. It shows that my variables are set. However, dumping $_SESSION out on step 7 shows that the variables set in the validate() function on /foo have disappeared. I've also tried placing eZSessionStop() calls in various places (e.g., after setting my variables in validate() ) to flush things out, but that has not brought success either. Very stumped at this point.
|