Welcome Guest, Not a member yet? Register   Sign In
How to get session->flashdata() working in HMVC module?
#1

[eluser]helloworldly[/eluser]
My app = CI + Modular Extensions - HMVC.

+ 'Session' library is autoloaded.
+ Am able to store and retrieve session flash data from application/somecontroller
+ BUT I am unable to store and retrieve session flash data from Modular Extension controller that is loaded into application/someview via ajax.

Adding this to module's controller does not seem to store the data:
Code:
$this->session->set_flashdata( 'message', 'ERROR: some message here.');

nothing is displayed...

Code:
echo $this->session->flashdata('message');

... unless I set flashdata within the parent application/somecontroller.

Thoughts how to make this work via the module so that I can provide error / notice messaging within a module? Thanks!


Messages In This Thread
How to get session->flashdata() working in HMVC module? - by El Forum - 04-15-2010, 03:08 PM
How to get session->flashdata() working in HMVC module? - by El Forum - 04-16-2010, 12:46 PM
How to get session->flashdata() working in HMVC module? - by El Forum - 04-17-2010, 03:02 PM
How to get session->flashdata() working in HMVC module? - by El Forum - 04-20-2010, 01:16 PM
How to get session->flashdata() working in HMVC module? - by El Forum - 04-20-2010, 01:36 PM
How to get session->flashdata() working in HMVC module? - by El Forum - 04-21-2010, 11:53 PM
How to get session->flashdata() working in HMVC module? - by El Forum - 05-16-2010, 06:15 AM
How to get session->flashdata() working in HMVC module? - by El Forum - 05-16-2010, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB