[eluser]josepichu[/eluser]
Hi!
What's the best way to avoid recalculate again an again a data from the database ??
I have in all my header views some values that i load from my DB. Actually I'm accesing it in all my controllers and methods to show it then.
I have proved to load the var value in my constructor to be able in the methods but then when i want to use the var it show me that is undefined.
I know i can do it with var session, but do you Know a better way ?? Hooks??
do you undestands me??
thnks!