Hi Franks,
Can you show us how to use that session storage in detail.
I'm newbie on SF and FB.

Thanks,

Rick

On Mar 4, 11:25 pm, Frank Stelzer <d...@bleedingmoon.de> wrote:
> Hi,
> I wrote a complete fb application and had a similar problem. The  
> problem was that the fb requests lost the session in the sf app all  
> the time. The fb requests do not support cookies and so the normal  
> session storage does not work.
>
> In my case, I worked with a special session storage activated in the  
> factories.yml:
>
> ----
> class FacebookSessionStorage extends sfSessionStorage
> {
>    public function initialize($options = null)
>    {
>      if(!$options)
>      {
>        $options = array();
>      }
>
>      $options['session_id'] = preg_replace("/[^A-Za-z0-9-]/","",  
> sfFacebook::getFacebookClient()->api_client->session_key);
>      $options['auto_start'] = true;
>
>      return parent::initialize($options);
>    }}
>
> ----
>
> Maybe that helps in your case, too!
>
> Frank

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to