Is there a reason why you are you not using the Auth component and admin prefix 
routing?

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 15 Sep 2010, at 10:15, DigitalDude wrote:

> Hey,
> 
> 
> I have an app which is divided into a front- and a backend. I'm using
> the same models in the frontend, but controllers are strictly
> divided.
> 
> What I'm trying to do is make a login-element into the frontend where
> admins can login, and will be redirected to the authed area in the
> backend. So from the domain http://app the login and after that they
> should be at http://backend.app/dashboard, which is an area that only
> logged in users can see.
> 
> Is there any chance to achieve this behaviour? Maybe we can use routes
> or sth like that for this...?
> 
> Regards,
> 
> Erik
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" 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

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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