Here is a bug in Flash Player (Firefox + SSL), please vote for it,
http://bugs.adobe.com/jira/browse/FP-201

(probably a duplicity for
http://bugs.adobe.com/jira/browse/FP-78
but assigned to another person ;) )

CoPLaS

--- In flexcoders@yahoogroups.com, Jon Bradley <[EMAIL PROTECTED]> wrote:
>
> I'm guessing it's because the session is not retained when performing  
> a file upload to the server - a new session id is created for each  
> FileReference upload attempt.
> 
> This is a known issue with various workarounds.
> 
> Modify your server code to ignore any session or login details to be  
> sure this is the problem you are seeing. If it works when you remove  
> any requirement for authentication or any check of the session info,  
> then you're one step closer to fixing the issue.
> 
> You will then need to:
> 
> 1. Store the session number in Flex and send it back. On the server  
> you validate against the sent session (a new one will still be  
> created), then send back the new session details.
> 
> or...
> 
> 2. Ignore a requirement on the session when doing the actual upload.  
> Find another way of verifying the user is logged in.
> 
> http://bugs.adobe.com/jira/browse/SDK-12851
> http://bugs.adobe.com/jira/browse/FP-78
> http://thanksmister.com/?p=59
> http://www.mail-archive.com/flexcoders@yahoogroups.com/msg58372.html
> 
> 
> good luck,
> 
> jon
> 
> 
> On Jun 5, 2008, at 12:58 PM, Dennis Falling wrote:
> 
> > I have this problem for standard uploads too, not just SSL...   
> > Again, it works fine in IE, so I know that the address and file are  
> > valid.  Any ideas?
> >
> >
> > On Wed, Jun 4, 2008 at 1:48 PM, Dennis Falling <[EMAIL PROTECTED]>  
> > wrote:
> > I searched the web and the group and found a thread going about  
> > this without a resolution (started with msg. 88102).  Does anyone  
> > know a way around this?  I need to allow the user to upload files  
> > over SSL, which works fine from IE but explodes in Firefox.
> >
> > Code:
> > var url:String = Services.getCommandServiceURL 
> > (FileDelegate.UPLOAD_FILE_COMMAND);
> > var request:URLRequest = new URLRequest(url);
> > request.method = URLRequestMethod.POST;
> > _file.upload(request,"fileData",false);
> >
> > When run in Firefox, I get a flash exception:
> > Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O  
> > Error.
> >
> > Watching it in Wireshark I see the initial post, then a number of  
> > subsequent lines "Continuation or non-HTTP traffic".
> >
> > Thanks!
>


Reply via email to