[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
hello kassel On 12 avr, 11:54, kassel wrote: > Great > > On 12 abr, 12:50, symfonyMan wrote: > > > Yes, > > > i changed my routing and it work good. > > > for my secured pages i have /account/member/*,  for change email > > action i did just /changeEmail thats why it don't work. > > > now i have

[symfony-users] Re: Session in symfony2

2011-04-12 Thread kassel
Great On 12 abr, 12:50, symfonyMan wrote: > Yes, > > i changed my routing and it work good. > > for my secured pages i have /account/member/*,  for change email > action i did just /changeEmail thats why it don't work. > > now i have /account/member/changeEmail. > > I am moroccan ;) > > thanks >

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
Yes, i changed my routing and it work good. for my secured pages i have /account/member/*, for change email action i did just /changeEmail thats why it don't work. now i have /account/member/changeEmail. I am moroccan ;) thanks On 12 avr, 11:33, Alvaro Touzon wrote: > will be the problem un

Re: [symfony-users] Re: Session in symfony2

2011-04-12 Thread Alvaro Touzon
will be the problem un security routing? Becose this data is in all pages after auth sorry for my poor english too. I'm spanish Thanks 2011/4/12 symfonyMan > And in the symfony profiler, > > after authentication, i am redirected to account/member that print all > my infos( i see that i am authe

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
And in the symfony profiler, after authentication, i am redirected to account/member that print all my infos( i see that i am authenticated) , in the changeEmail action i am not authenticated !! thanks On 12 avr, 11:26, symfonyMan wrote: > ok, > > in my  bundle AccountBundle I have two cont

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
ok, in my bundle AccountBundle I have two controllers UserController and ProfilController. in the first one i have all security function ( register, login, logout, change password...) and in the second i have actions for completing and editing profil .. AccoutController : . /** * @ex

Re: [symfony-users] Re: Session in symfony2

2011-04-12 Thread Alvaro Touzon
Could you put both codes? thanks 2011/4/12 symfonyMan > 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 wrote: > > Hi, > > t

[symfony-users] Re: Session in symfony2

2011-04-12 Thread symfonyMan
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 wrote: > Hi, > try in the action to use: > $this->get()$this->container->get('security.context