Welcome Guest, Not a member yet? Register   Sign In
Problems with Encrypted CI Session
#10

[eluser]CodeIgniterNewbie[/eluser]
Doh! That's it.

I am using flashdata to store validation errors. On submit, I have a method that runs the validation, then on failure does this:

header('Location: ' . base_url() . 'index.php/frontend/signup/');

Thus, when the page is loaded again, I no longer get the flashdata. Makes sense. Your suggestion to use keep_flashdata worked, too. Thanks.

Now, I am wondering: what is the proper way to load the same page when validation error occurs? I'm guessing my header redirect approach is not the "proper" way, though it works.


Messages In This Thread
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 04:29 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 04:42 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 04:48 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 05:21 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 05:39 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 05:51 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 06:02 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 06:22 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 06:23 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 06:30 PM
Problems with Encrypted CI Session - by El Forum - 11-12-2010, 06:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB