quick question -- i have a couple of core classes that "run" my application that i'd love to have persist over the entire application so that i can easily use it throughout the application without having to include and instantiate the class on every one of my controllers...
so, right now i have this:
// start the session
// only instantiate the core class once per session
$_SESSION["careers_core"] = new careersCore('site.com');
then, throughout my application, i can reference it by doing this:
this seems...i dunno...bad. any advice for how to accomplish better what i am doing?