this must be a difficult thing to do since I've asked on the forum and
the IRC channels and no one knows?
can someone at least direct me to where I might find my answer?
On Oct 9, 2:42 pm, jasonb <[EMAIL PROTECTED]> wrote:
> Im trying to use session variables in my /lib/mylogger.php class
>
> everytime i reference
> $username = sfContext::getInstance()->getUser()-
>
> >getAttribute('Username');
>
> the code says
> Fatal error: Call to a member function getAttribute() on a non-object
>
> but I've been struggling and I even tried doing a
> print_r(sfContext::getInstance()) and i see the attribute in the page
> but it wont allow me to access it ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---