oh - cool - much thanks - that potentially explains some of it. I changed the code and crossed my fingers. The part I still don't get is that when I get to the "confirmation" page, and am pulling values from $_SESSION, sometimes it seems that the sessions are getting crossed. To re-cap this part of the puzzle - - enter procedure, store value in $_SESSION and a cookie - leave procedure - drupal does a redirect - on that redirected page I check to see if the values in $_SESSION and cookie are the same - in high traffic situations I get intermittent errors here - values are NOT the same. I suspect this is a different problem. There is more detail in my original message. Thanks in advance, Dan
On Sep 25, 2008, at 10:28 PM, Dan Robinson wrote:
$filename = md5($conf['myapp_secret_salt'] + $form_state['values']['Qualifyers']['Email'] + time());
...
What am I doing wrong?
You're using arithmetic on your strings, not concatenation. Try this:
$filename = md5($conf['myapp_secret_salt'] . $form_state['values']['Qualifyers']['Email'] . time());
I didn't completely audit the rest of your description, but that seems like the heart of the problem.
Cheers, -Derek (dww)