can we check or format the url before doing the routing ?
if we have www.example.com/userid/controllers

i want to check first, whether the user exist on the db or not ... if
it is exist then it will save the userid on the session tracking and
then use the controller but if the userid is not exist on the
database, we simply redirect the www.example.com/controller/

how to do this ?
which file I should place this checking ?

thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to