Hi Steven,
I am working on a similar issue of re-filling form fields from the database, not the session array variable, $fields. I don't have the exact solution for your needs, but you can try re-loading the data from the database fields, rather than from the session data.
It's important to keep in mind the difference between re-filling data from a session variable, $fields in this case, and data from the database. The DB data is not held in the $fields array after a session has been closed. So, you would need to re-query the DB and store it into the $fields array (or some other variable) for use in your script.
That's just my "two cents" worth of help.
I am working on a similar issue of re-filling form fields from the database, not the session array variable, $fields. I don't have the exact solution for your needs, but you can try re-loading the data from the database fields, rather than from the session data.
It's important to keep in mind the difference between re-filling data from a session variable, $fields in this case, and data from the database. The DB data is not held in the $fields array after a session has been closed. So, you would need to re-query the DB and store it into the $fields array (or some other variable) for use in your script.
That's just my "two cents" worth of help.