Welcome Guest, Not a member yet? Register   Sign In
Session storing form input
#11

[eluser]Ravi Bakraniya[/eluser]
[quote author="Atharva" date="1291741899"]Are you saving your session data in db?[/quote]

no, i don't want.
#12

[eluser]Bart Mebane[/eluser]
You could also store the data in hidden form fields. For example, after Step 1 is submitted the controller passes the Step 1 input data to the Step 2 form, which stores those values as hidden fields. When Step 2 is submitted, the controller reads the Step 2 post data as well as the Step 1 post data from the hidden fields, and passes both of them to the Step 3 form, etc. When the last step is submitted, the post data will contain the data from all the steps.
#13

[eluser]Unknown[/eluser]
[quote author="WanWizard" date="1291739059"]You don't have to serialize it, you can just use
Code:
$this->session->set_flashdata('name', array('mike', 'john'));
[/quote]

Thanks, that works!

Greetz
Kenny

Landhausmode Boutique




Theme © iAndrew 2016 - Forum software by © MyBB