CodeIgniter Forums
setting flashdatas - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: setting flashdatas (/showthread.php?tid=67414)



setting flashdatas - neuron - 02-20-2017

Hi,
I set flashdata message and then when I load a view message is not showing up, but when I redirect after setting flashdata message is showing up. 
Is it how it is supposed to work?

I need to show flashdata wihout redirecting...


RE: setting flashdatas - Diederik - 02-20-2017

I have created my own message library based on https://github.com/jenssegers/codeigniter-message-library

And perhaps you could have a look at https://github.com/avenirer/CodeIgniter-Postal

Both are good starter point in setting up a more flexible way of dealing with messages.


RE: setting flashdatas - neuron - 02-20-2017

Thanks, Diederik