After login the user, it redirect to Login successs page. That page i got the session(userid). But i click any other links or type any other url(same site), the session will distroyed. I also check it with normal $_SESSION[]; as well as $this->getUser()->setAttribute( ) ; method. I am new in symfony. Please help me. Thanks in advance.