I can't seem to save session attributes in webkit browsers. This is what I'm doing on Symfony 1.4.16.
- Code: Select all
public function executeAssign(sfWebRequest $request)
{
if(!($request->isMethod('put') || $request->isMethod('post'))) {
// Get all survey type names for iterating in the form
$this->getUser()->setAttribute('code', $request->getParameter('id'));
// Get all survey types
$this->types = SurveyTypePeer::doSelect(new Criteria());
}
}
The attribute code is NULL in my session when I check in the dev toolbar. after performing another action. I do not remove the attribute anywhere. Oddly enough the user_id attribute sticks around forever.
- Code: Select all
attributeHolder:
sfGuardSecurityUser: { user_id: 1 }
symfony/user/sfUser/attributes: { code: null, user_id: 1 }
This works on Firefox where the code is not null.
