Webkit session attributes are being made NULL

Discussion relating to version 1.3.x and 1.4.x

Webkit session attributes are being made NULL

Postby tayhimself » Wed Feb 15, 2012 7:07 pm

Hi,

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.
tayhimself
Member
 
Posts: 68
Joined: Thu Apr 19, 2007 7:10 pm

Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 6 guests