Re: Session issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux