Last week I need to create a wizard. A step by step procedure where the user inputs data and obtain a final result. Every step is a php page that submits in the following step.
I didn't want to save each step data into the DB since the wizard may change, and that could be difficult to update db struture according to changes.
So i went for saving each single data in SESSION.
Having finally my set of data saved in the SESSION array and I could easly compute over this data, save the entire session into the DB, recover data
What do you think? Is there any better approach for this kind of application?