Auth doesn't work in iframe

2013-02-28 Thread Tobias Schlemmer
Hello everyone, I'm running a website with CakePHP 2.2.5 using the AuthComponent for login. Which works great. But when I include this website into an iframe, login is not possible anymore. Can someone verify this behavior for his own app? Just do iframe test http://your-cakephp-app.co

Plugin under its own (sub-)domain?

2012-12-04 Thread Tobias Schlemmer
Hello everyone, I have my app up and running and it is accessible via www.mydomain.com In addition I would like to add a RESTful api which should be available from its own subdomain api.mydomain.com So I thought I create a "Plugin/Api" and have all the Controllers/Actions/Authorization/Layout

MVC

2012-11-19 Thread Tobias Schlemmer
Hi all, I have a question concerning the MVC logic. In my example I have to add a new user to a mail server via REST. And I would like to inform the user with the error message. So should the Model return the error message to the controller or should the controller request the error message fro