Re: Force SSL (HTTPS) Component, Finalization Help

2008-07-01 Thread Daniel E.
~/app/controllers/components/s_s_l.php: _config('objController', $controller); $this->_config('controller', $controller->params['controller']); $this->_config('action', $controller->params['action']); $this->_config('host',

Re: Force SSL (HTTPS) Component, Finalization Help

2008-07-01 Thread Daniel Hofstetter
Hi Daniel, > I managed to get my component working but would like to call cake's > native 'redirect' instead of "header('location...", if it is > possible... Does anyone know how this can be done? Store a reference of the controller (which is automatically passed as parameter to the initialize()

Force SSL (HTTPS) Component, Finalization Help

2008-07-01 Thread Daniel E.
Hello All, I managed to get my component working but would like to call cake's native 'redirect' instead of "header('location...", if it is possible... Does anyone know how this can be done? ~/app/app_controller.php: SSL->reset=false;//requests continue in https if false, default = true