This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » access user session from routing class
access user session from routing class [message #103236] Thu, 29 July 2010 13:35
paco1987  is currently offline paco1987
Messages: 2
Registered: December 2009
Junior Member
Is there are any possible to access user session from routing class. I've tried
sfContext::getInstance()->getUser()->setAttribute('city_id', 1);
and I had an error:
Fatal error: Call to a member function setAttribute() on a non-object in /home/www/project/lib/routing/acCityObjectRoute.class.php on line 35


Previous Topic:Image upload won't work
Next Topic:symfony 1.4 Doctrine and PostgreSQL
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software