02-16-2009, 01:53 AM
[eluser]nk94555[/eluser]
Hi,
I am defining a session var in my controller and using a helper file in the view. I am not able to read the session var defined in controller using $this->session->userdata('item'); It errors that helper is not a class. Is there a way to do this instead of passing var to each helper function call from views.
Thanks,
Neeraj
Hi,
I am defining a session var in my controller and using a helper file in the view. I am not able to read the session var defined in controller using $this->session->userdata('item'); It errors that helper is not a class. Is there a way to do this instead of passing var to each helper function call from views.
Thanks,
Neeraj