View Single Post
Old 01-11-2009, 03:20 AM   #7 (permalink)
CoryMathews
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

personally I just store the entire user class. Mine is pretty small with only about 8-10 vars and just a couple functions.

A second reason why I save the entire class is so that I don't have to keep doing the same sql queries every time I load the page to get the users name ect. I only run them once when the user logs in. and can then easily access them any time I need.
CoryMathews is offline  
Reply With Quote