Redirect Not Working CI4 |
@jim1001
Yes, the sessions work fine. Just put session() in the controller or wherever you are calling the redirect, and put session() whereever you are redirecting to. Also, in my case, I had aggressive session cleaning after each controller, written in an Event - but the exit(), called after header("Location: .... prevented all that, and my session worked in next controller/method/location
You can see things I made with codeigniter here: itart.pro its not overly impressive as I have very little time to learn.
|
Welcome Guest, Not a member yet? Register Sign In |