Welcome Guest, Not a member yet? Register   Sign In
Flashdata Not Passing Message in CodeIgniter 3
#1

Hello.

We are in the process of updating our website from CodeIgniter 2 (.1.1) to CodeIgniter 3 (.1.9).

We use the set_flashdata() method to set a message to be displayed on redirect in numerous places in our code.  When the redirect occurs, the message disappears.  This was working fine in our original CodeIgniter 2 application.

It should be noted that this only occurs when there is a redirect (i.e., index.php file to run from the beginning).  If we reload the view without redirecting, the flashdata shows up correctly. 

I tried using keep_flashdata(), but it did not work.

I was wondering if perhaps this has to do with the way the new Session class works.

Any help would be greatly appreciated!
Reply


Messages In This Thread
Flashdata Not Passing Message in CodeIgniter 3 - by TemiU - 12-19-2018, 04:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB