[eluser]qpixo[/eluser]
[quote author="gRoberts" date="1337002290"][quote author="qpixo" date="1337002209"][quote author="veledrom" date="1336999653"]No it didn't work.
NOTE: I know that I can use $this->login() but I need to use redirct().[/quote]
I had same problem before and someone helped me to fix it.
Basically you have to save the input form set_value() in session then load it into your input form
Code:
$this->session->set_userdata('your form', $this->form_validation->set_value('your form');
$this->session->userdata('your form');
Hope it helps!
[/quote]
As above, I'd use FlashData instead as they expire as soon as they are read, which means you don't want to worry about destroying or overlapping sessions.[/quote]
Yeah sure! Ideally FlashData
when user forget to Logout (doing all the process in background...)