Welcome Guest, Not a member yet? Register   Sign In
set_value() with redirect() issue
#7

[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 Smile
when user forget to Logout (doing all the process in background...)


Messages In This Thread
set_value() with redirect() issue - by El Forum - 05-14-2012, 05:40 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 05:45 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 05:47 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 05:51 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 06:30 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 06:31 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 06:34 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 07:19 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 08:20 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 08:41 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 08:42 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 08:50 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 09:16 AM
set_value() with redirect() issue - by El Forum - 05-14-2012, 09:19 AM
set_value() with redirect() issue - by El Forum - 02-08-2013, 12:47 PM
set_value() with redirect() issue - by El Forum - 02-08-2013, 01:29 PM
set_value() with redirect() issue - by El Forum - 02-08-2013, 02:41 PM
set_value() with redirect() issue - by El Forum - 02-08-2013, 05:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB