How are you setting the location?
If the user starts at www.yoursite.com and you redirect to yoursite.com
after the first form then you'll lose the session since it's a different
domain.
Dave Goodchild wrote:
Hi all. I have a session issue and wondered if anyone else has encountered
this:
I have an app where a user fills out 3 forms. In each case, after
validation
and cleaning the form data is passed into session variables and after the
final submission the data is entered into the database. I am using both
Firefox and IE6 on Windows XP and the system works like a dream. However, a
user testing on IE6/XP is having some problems. The values from the first
form are not being passed into the session.
When each form is successfully processed the user is redirected to the next
stage using header('Location...'). I call session_write_close before
that to
ensure the session data is written out before the redirect, but the problem
persists.
Anyone recognise this issue. It is not IE-specific as it happens to me on
Firefox intermittently. I am at my wits end! Thanks in advance for any
help!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php