[eluser]mddd[/eluser]
There are multiple ways to achieve the same thing. I always try to keep things as organized as possible.
The solution of creating a helper will work fine if you do it right. But I think it is not very organized. The helper will only work
correctly if the session library is also active. In my opinion, helpers should be functions that do not rely on other things being
loaded first. This helper is simply a 'shortcut' to some functionality that should be in a model.
Or let me put it his way: helpers are really part of the View layer of the MVC principle. By using a helper for this, you are
inserting Model functionality into the View part. That is bad, because models and views should function as separate from each
other as possible. That's why it is better to put this kind of intelligence into a model, and then use the controller to bring
everything together.