Re: php and session issues continued...
| From: | Tom Atkinson | Date: | Sat, 16 Sep 2006 13:12:07 +0000 |
| Subject: | Re: php and session issues continued... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241860@lists.php.net to get a copy of this message | ||
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!