I think there is no problem of checking subdomain from sfUser.
I think for checking subdomain you only need to have a request object
- I think it has a host attribute.
Something about subdomains is here
This thread:
http://groups.google.com/group/symfony-users/browse_thread/thread/6110d23b5879501a/9cf0c80fd94142fd
appears to suggest that it works fine with all symfony 1.x versions.
On Apr 12, 2:22 pm, Phil Moorhouse moorhouse.p...@googlemail.com
wrote:
We do something very similar using the
Thanks, Phil. I'll check that out
On Mon, Apr 12, 2010 at 9:29 AM, Phil Moorhouse
moorhouse.p...@googlemail.com wrote:
This thread:
http://groups.google.com/group/symfony-users/browse_thread/thread/6110d23b5879501a/9cf0c80fd94142fd
appears to suggest that it works fine with all symfony 1.x
I think the classic way of doing this is to store a cookie when the
user comes (from some link with id which idetify the affiliate). Then
you can identify him by this cookie, or you can use session - if you
don't need to identify him after he leaves your website and comes
later by just typing your
Thanks, Tom!
One of the main reasons to do it with subdomains, is to give the
affiliates ownership of the way the site looks.
If I do do it with subdomains, and then store the affiliate in for in
sfUser, am I ok to do the subdomain analysis in in the sfUser class?
I mean, can I just check the