[eluser]bigtony[/eluser]
[quote author="smithas" date="1249052861"]i have a large number of fields in first page.
so i gathered all of them in an array $params
and then $this->session->set_flashdata($params);
but in the next page i need to use keep_flashdata() function.
How can we use keep_flashdata() function when passing an array?[/quote]
Again, I recommend using set_userdata rather than flashdata, as then it's 'kept' for you. Just retrieve with $this->session->userdata('array_name');
If you want, you can unset_userdata when all finished.