11-06-2012, 08:12 PM
[eluser]PhilTem[/eluser]
Regarding your second question: I don't know the answer, but IonAuth should have a method to retrieve user-data like the user-id for you not needing to get it from the session directly. That's why one would want to use a library so that you keep code DRY and that the actual way of storing data is "invisible" (i.e. not known) to other models, libraries, ...
Regarding your second question: I don't know the answer, but IonAuth should have a method to retrieve user-data like the user-id for you not needing to get it from the session directly. That's why one would want to use a library so that you keep code DRY and that the actual way of storing data is "invisible" (i.e. not known) to other models, libraries, ...