Thanks, that works like a charm :) On 17 Jun., 16:39, Michael Holm <ho...@hollo.dk> wrote: > Hi, > > Yes you can.. just put it in as an argument: > > arguments: [@session] > > then get the session class in the constructor of the class.. > > http://symfony.com/doc/current/book/service_container.html > > Best regards, > Michael Holm > > > > > > > > On Thu, Jun 16, 2011 at 8:33 PM,Flo<fpfeif...@gmail.com> wrote: > > Hi, > > > what I'm trying to achieve is, that after a user has successfully > > logged in, set the locale of the session. > > > I made a listener for onSecurityInteractiveLogin, there I have access > > to the user object, but I can't access the session container (can I?) > > > The login_check action is never really called is it? That would have > > been the other way I would have tried... > > > So, how can I do that? > > > Thanks, > >Flo > > > -- > > 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
-- 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