Re: [symfony-users] Identify the module in the referer URL.

2010-01-20 Thread Christopher Schnell

Don't Know if it is best practice, but I did it like this:

store the actual Module in the Users Attributes. If the current module 
differs from the strored module, than you know the referring module and 
can store the new module.


Regards,
Christopher.



Bruno Reis schrieb:

Hi,

I have a referer url and I want to identify what is the module from that
url. So I will need to parse this url the same way symfony does it on it´s
routing or front controller. How can I parse a string containing a URL to
know what is the module in it considering the actual defined routing
configuration?

Thanks,
Bruno

  


-- 
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@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.




[symfony-users] Identify the module in the referer URL.

2010-01-15 Thread Bruno Reis
Hi,

I have a referer url and I want to identify what is the module from that
url. So I will need to parse this url the same way symfony does it on it´s
routing or front controller. How can I parse a string containing a URL to
know what is the module in it considering the actual defined routing
configuration?

Thanks,
Bruno
-- 

You received this message because you are subscribed to the Google Groups "symfony users" group.

To post to this group, send email to symfony-us...@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.