how to acess user session in sfDoctrineRoute with symfony ?

Posted by belaz on Stack Overflow See other posts from Stack Overflow or by belaz
Published on 2010-04-29T09:54:45Z Indexed on 2010/04/29 9:57 UTC
Read the original article Hit count: 219

Filed under:
|
|
|
|

how to acess user session in sfDoctrineRoute with symfony ?

var_dump(sfContext::getInstance()->getUser());    

returns NULL

i cant access current user session in routing

http://stackoverflow.com/questions/2455817/symfony-accessing-user-session-from-a-custom-routing-class = bad response

© Stack Overflow or respective owner

Related posts about symfony

Related posts about php