- Code: Select all
$this->getUser()->setAttribute('foo', 1);
I then load the page. Then I replace that line with the following:
- Code: Select all
error_log($this->getUser()->getAttribute('foo', 0));
I reload the page and, as expected, I see a 1 in the error log. On our dev site, however, the same actions spit a 0 into the error log. $_SESSION vars seem to disappear as well. I'm not a symfony expert and I have no idea how to track this down. Suggestions?
