The session be it user or thread can and should be used to contain information that costs a lot to lookup especially when it is referenced multiple times during the sessions lifecycle. Just remember to clean it up when you are finished as we don't want any memory leaks.
No comments:
Post a Comment