several step process. do it reliable,secure.
Posted: Mon Oct 09, 2006 9:41 am
Hi,
here is the scenario.
I have full control over the system I develop on. it is LAMP development.
The question is: what is the reliable and right way to go with several step process.
Let's say there is ordering process or whatever that takes several steps to complete.
What comes to my mind first is store all necessary data from one step in a SESSION and provide it for the second step.
With a flag index in $_SESSION that shows the step that is valid and finished...so I know till where I am...and what step to show next.
Are there any pitfalls to this approach...is it possible with form submission or some other way to change data from step 1 and acturelly be processed on step 5. I assume not as the data will be stored in $_SESSION..
Would be great even if someone points me to how to search for this kind of problem in google e.g.
here is the scenario.
I have full control over the system I develop on. it is LAMP development.
The question is: what is the reliable and right way to go with several step process.
Let's say there is ordering process or whatever that takes several steps to complete.
What comes to my mind first is store all necessary data from one step in a SESSION and provide it for the second step.
With a flag index in $_SESSION that shows the step that is valid and finished...so I know till where I am...and what step to show next.
Are there any pitfalls to this approach...is it possible with form submission or some other way to change data from step 1 and acturelly be processed on step 5. I assume not as the data will be stored in $_SESSION..
Would be great even if someone points me to how to search for this kind of problem in google e.g.