|
Posted by Toby A Inkster on 02/19/07 12:48
lister wrote:
> I guess I could cache the username in the user's session data to save
> a DB lookup (or maybe even a cookie to save looking up any session
> data at all).
Personally, I tend to cache virtually *everything* about the user in
$_SESSION.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
Navigation:
[Reply to this message]
|