Yes, no, you're right. I don't do that on every page on the systems I've built. And yes, I define('USER','The user namespace'); before I set it.

Mike

Stut skrev:
Out of curiosity, why do you create the user object on every page request? Why not store the user object in the session?

Also, $GLOBALS[USER] is invalid unless you have defined a constant called USER somewhere.

-Stut



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to