Welcome Guest, Not a member yet? Register   Sign In
share data across multiple controllers and views without sessions
#4

[eluser]chinedubond[/eluser]
hello thanks for your replies but i know how to make data available to views like you said
but what i want to be is this.

1. get a result set from a model - done.
2. send to a view - done

the problem is i want the same data shared to other views and controller
i tried using
$this->load->vars();
but it seems the data only lasts for one request.

then tried to share the same data within multiple controller without putting the data in a session;

How do you make data global in such a way that a function only calls it once then it is shared amongst multiple controllers that need it with out using sessions.


Messages In This Thread
share data across multiple controllers and views without sessions - by El Forum - 06-26-2008, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB