Could you put both codes? thanks 2011/4/12 symfonyMan <ezziani.cha...@gmail.com>
> Thanks for replay :) > > this work just in one controller ?? > > i tried to use it in other controller but i have Null. > > how can i get the user email from the session ? > > thanks > > On 12 avr, 10:13, Alvaro Touzon <alvaro.tou...@gmail.com> wrote: > > Hi, > > try in the action to use: > > $this->get()$this->container->get('security.context')->getToken() > > after authentication. > > Thanks > > > > 2011/4/12 symfonyMan <ezziani.cha...@gmail.com> > > > > > > > > > Hello, > > > > > how to get informations (email, username, TOKEN...) from session after > > > user authentication ?? > > > > > thanks > > > > > -- > > > 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 > > > > -- > > Álvaro, Senior Web Developer > > -- > 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 > -- Álvaro, Senior Web Developer -- 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