Re: Session issues
| From: | Al | Date: | Fri, 18 Aug 2006 14:07:25 +0000 |
| Subject: | Re: Session issues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240844@lists.php.net to get a copy of this message | ||
Dave Goodchild wrote:
Hi all, I am currently writing a web application that has a 3-stage form process as part of its functionality. The values passed in are placed in the session array after validation and once the user has completed and supplied all required values the relevant session values are inserted into the database. I have tested it on three different machines in FF, IE and Opera and all expected values were entered ok. However, a remote user has started testing and all values are blank, suggesting the session is not being populated. I noticed it at their office last week when data values were not showing up when the user went back one page (ie fields are pre-populated with existing session values). Anyone had this problem before?$i= 0; first time. Then $i++; so you can see the increment. Or instead of $i, include something unique in your code for each pass. Try putting a var_dump($_SESSION, $i) at the top of your page. That will show you what is happening.