Just in case someone else may encounter this problem in the future:

Today I discovered that in Cake 1.3, if you use DebugKit.Toolbar, the
beforeFilter method to start the session given a session ID would not
work with SWFUpload. I think what happens is that DebugKit would use
the Session Component before beforeFilter method is called. So, by the
time you are trying to set Session->id(), the Session component was
already initialized by DebugKit.

To get around this problem, I added the following in my Controller

        function startupProcess() {
        if ($this->action == 'swfupload') {
                        Configure::write('debug', 0);
                }
                parent::startupProcess();
        }

This would turn off DebugKit so it would not start the session.

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

Reply via email to