I have the Security component working and redirecting to my pages
using the sample code in the book.

        function beforeFilter(){
                $this->Security->blackHoleCallback = 'forceSSL';
                $this->Security->requireSecure('login');
        }

        function forceSSL() {
                $this->redirect('https://' . $_SERVER['SERVER_NAME'] . 
$this->here);
        }


What I am not seeing is some way to tell my app to redirect back to
non-SSL requests once the user is logged in. Has anybody got any
suggestions on the best way to accomplish this?

I have also seen posts talking about seesions not working when
switching between SSL and non-SSL requests. Is this still a problem? I

--~--~---------~--~----~------------~-------~--~----~
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