2008年9月14日星期日

[fw-auth] problems restarting sessions when posting files via swfupload (Flash)

Hello, I've been trying to use swfupload to upload files nicely and post them
to a controller. As Flash does not send any cookie headers in the usual way,
the PHPSESSID value is sent as a POST. I'm having trouble getting the
session restarted.

After calling $this->user = Zend_Auth::getInstance()->getIdentity() ,
I can see that ZF is creating a new session instead of restarting from the
posted session id.

Here are some debug vars :
session_id() = new session id
Zend_Session::getId(); = new session id
$_REQUEST['PHPSESSID'] = correct (POSTed) session id
session_name() = 'PHPSESSID'

I'm confused why this isn't working? Any ideas, or things I could try?
Many thanks, I'm pretty new to ZF! (using 1.6)
--
View this message in context: http://www.nabble.com/problems-restarting-sessions-when-posting-files-via-swfupload-%28Flash%29-tp19485713p19485713.html
Sent from the Zend Auth mailing list archive at Nabble.com.

没有评论: