Welcome Guest, Not a member yet? Register   Sign In
Strange behaviour using set_flashdata and redirect

[quote author="CARP" date="1271215507"]To be honest @skunkbad, didn't get any idea from your post. My english su**s[/quote]

Basically, the set_flashdata isn't working because of the redirect. The flashdata cannot be set because the header that sets the cookie never gets a chance to make it to the browser. You will need do something different.

Oops. I never said the flash_data isn't working. The flashdata message shows fine, perfectly. The thing is that when I call again the same function (from the redirect), it seems it doesn't load the helpers, models, etc.

Hope you've understood me

Can you paste the exact text of the error you're getting?

I'm not getting any error.
I'm just a very big dumb***

I've redirected to the bad controller. I was working in the "article" controller and after submitting the article form, i was doing the redirection to the "category" form, that's why I was seeing "less" fields, etc.

Theme © iAndrew 2016 - Forum software by © MyBB