I'm not sure what changed with 2.0, but the scheme that worked in CakePHP
1.2 to integrate SWFUpload no longer works in 2.0. With the old scheme, you
pass the session ID to beforeFilter and connect with the existing session
by setting the ID and starting the session. It's explained here:
http:/
servers at MediaTemple and we use SVN. We prefer programmers on Mac.
If you are interested, please email me directly -> dy...@cycleia.com
Thank you for your attention,
Dyske Suematsu
Partner, CYCLE Interactive
http://cycle-interactive.com
--
Like Us on FaceBook https://www.facebook.com/Cake
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
s->params['pass'][1]);
$this->Session->start();
}
parent::beforeFilter();
$this->Auth->allowedActions = array();
}
This method have no security compromise.
Hope this helps.
Best,
Dyske
-
Dyske Suematsu
R+D STUDIO
419 Lafayette Street, 2nd Floor
New York, NY 10003
htt