http://prendreuncafe.com/blog/post/2008/07/25/Partager-la-session-utilisateur-entre-Flash/Flex-et-symfony-avec-AmfPHP
2011/8/15 chok <chok...@gmail.com> > Hi, > > Daniel is right. You have to manage cookies or session_id by your way > if the client doesn't manage cookies. > > By default in symfony, you can give a parameter > session_name=session_id if session.use_cookies is set to false. > > If you want both way (cookies and url) you have to override > sfSessionStorage like this : > > <?php > > class myStorage extends sfSessionStorage > { > public function initialize($options = null) > { > if ($sessionId = $options['session_id']) > { > session_id($sessionId); > } > > parent::initialize($options); > } > } > > and change the storage in your factories. > > Maxime > > On 14 août, 01:32, Richtermeister <nex...@gmail.com> wrote: > > Hey Benoit, > > > > I don't believe RIA clients work with sessions, because a session is > > usually associated with cookies, and those are browser-related > > features. > > From what I know the idea of an RIA client is to store the 'state' of > > the app (session variables) in the client only. Does that make sense? > > > > Daniel > > > > On Aug 9, 2:56 am, Benoît Nadaud <benoit.nad...@gmail.com> wrote: > > > > > > > > > > > > > > > > > Hi, > > > > > I'm developing a Rich Internet App with Symfony & Flex. > > > I'm using sfAmfPlugin 1.5.1 and it works perfectly. I want to add > > > variables via an AMF Service in user's session. So i use setAttribute > > > method as usual, but in AMF services it doesn't work, no errors are > > > thrown, but when i try to get the attribute later (getAttribute > > > method) it's null. > > > > > Anybody knows about session & AMF requests ? > > > > > Thanks > > > > > PS : sorry for my English, i'm French. > > -- > 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 developers" group. > To post to this group, send email to symfony-devs@googlegroups.com > To unsubscribe from this group, send email to > symfony-devs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- *Mohamed Ayoub BENJELLOUN***** *Chef de projet web [ EmagCom ]* *Consultant Freelance [ PHP5 Technologies ]* *cv en-ligne: www.doyoubuzz.com/ayoub-benjelloun * *Email: benjellounay...@gmail.com* *Tél: +212 661 96 44 01* *Skype: benjellounayoub* -- 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 developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en