Welcome Guest, Not a member yet? Register   Sign In
flashdata won't work with redirects
#5

[eluser]Hampti[/eluser]
Hi there,

my experience with flashdata :
when i did my first CodeIgniter project years ago flashdata worked fine. Just as i thought it was intended, and i used it a lot.

Quite some time ago it stopped working correctly and the data always displayed with delay, just one request too late.

I did some research and tried several "solutions", but none of them worked.

So i would suggest: dont bother and use userdata instead.
If you unset the userdata right after passing it to a view, it works exactly as flashdata did before.

Its a pity though, and if someone could come up with why flasdata is messed up / delayed: Please tell us =).

Best Regards,
Constantin

edit
sorry, overlooked that you solved your problem and it was a different one


Messages In This Thread
flashdata won't work with redirects - by El Forum - 07-26-2012, 10:19 AM
flashdata won't work with redirects - by El Forum - 07-26-2012, 10:27 AM
flashdata won't work with redirects - by El Forum - 07-28-2012, 12:18 PM
flashdata won't work with redirects - by El Forum - 07-30-2012, 08:19 AM
flashdata won't work with redirects - by El Forum - 08-03-2012, 07:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB