Hi,

I'm developing an application where each user can create his own page with it's 
own domain. My question is: how is the best way to get the user informations by 
site domain (url)? I've thought of working with contextualized factories, 
injecting the URI instance in the factory (DI), returning a user instance by 
domain (url), but I don't know if it is a good pratice. If the user is 
disabled, how do I redirect the user without repeat code in all controllers? In 
the factory certainly isn't the best place to do it.

Thanks,
Marcos

-- 
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

Reply via email to