Hi to all! I'm having an issue in the App I'm working in which consists in the following:
1-An app_controller having functions to check if the user is logged in in Facebook (Facebook Connect) 2-A beforeFilter() function in app_controller setting the Auth component, the Facebook component and calling the Facebook verification functions 3-A cached view The issue here is that the cached views don't call beforeFilter in App_controller; so the Facebook login procedures aren't called. So if a not logged in user accesses a cached view, and clicks in Facebook Connect, the page is reloaded BUT since beforeFilter isn't called, the Session is not refreshed, the user is not created and the Auth component does not exist. Did somebody found him/herself in this same situation? Does anybody have any suggestion? I though in manually creating the Auth component in AppController::__constructor() ; but this is not too much the Cake way. Best! n. 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
