2008年9月15日星期一

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

I think that 'use_only_cookies' is what is keeping Zend from reading the
session id from GET/POST.
Try putting it to off ;)

Giuliano Riccio

mothmenace wrote:
>
> Hi Giuliano, thanks for the suggestion, I checked but use_only_cookies was
> on (default I assume).
> However, I found that setting
> $_COOKIE['PHPSESSID'] = $_REQUEST['PHPSESSID'];
> before any session operations ( eg Zend_Auth::getInstance()->getIdentity()
> ) worked.
> I am assuming Zend_Session checks only the $_COOKIE for the SID?
>
> There doesn't seem to be much swfupload -> ZF activity online so I
> couldn't compare my work with anyone.
>
> Kindest regards!
>
>
> Giuliano Riccio wrote:
>>
>> Do you have "use_only_cookies" on? (
>> http://framework.zend.com/manual/en/zend.session.global_session_management.html#zend.session.global_session_management.configuration_options
>> Session settings documentation )
>>
>> Giuliano Riccio
>>
>
>

--
View this message in context: http://www.nabble.com/problems-restarting-sessions-when-posting-files-via-swfupload-%28Flash%29-tp19485713p19498211.html
Sent from the Zend Auth mailing list archive at Nabble.com.

没有评论: