I'm having a problem with a link to CakePHP from an Excel spreadsheet.
I log in to the web site. then click on the link in excel. When the
browser opens it presents me with the login page again. Once I log in
I'm redirected to the root instead of the page I requested.

If I paste the link in or click on any other links it works fine.

I was using OthAuth but decided to try Auth and the same thing
happens.

I have the following in configuration:

Session.cookie  = 'MASTER_CAKEPHP'
Session.timeout = 120
Session.start = true
Session.checkAgent = false
Security.level = 'low'
Security.salt = 'DEVelpomentMASter5y5t3/\\/\\'

I have the following in the app_controller:
[code]
        function beforeFilter() {
                $this->Auth->authenticate = $this;
        }

        function hashPasswords( $data ) {
                if( isset( $data['User']['password'] ) ){
                        $data['User']['password'] = md5( 
$data['User']['password'] );
                }
                return $data;
        }
[/code]

The log in function in the user controller is empty.


The only thing I've tracked down after several days of debugging is
that the session_id that is created on the first load of the page is
different to the one created when it redirects to the log in page.

Am I missing a setting or is this a bug? It's driving me nuts. If I
can get it to just redirect to the correct page I'll be happy. Any
help is appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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