FileReferenceList - No Cookies or NTLM Auth?!

Im using within my Flash 8 object to enable multiple file uploading from within my .ASPX web page. My browser is Firefox under Windows 2003 Server. The problem Im having is when the upload is submitted to my server (the same server the webpage and flash object came from) apparently Adobe forgot to include the browser's cookies when POSTing to the server as well as the NTLM Authentication header, all of which is sent by the browser for standard POST requests outside the flash object.

Is there ANY way i can resolve this apparent bug with flash? Is this problem resolved in Flash 9? I need for flash to submit the browser's cookie and NTLM Auth info back to my server, the way it normally should.

Who is Participating?
BlixtsystemsConnect With a Mentor Commented:
The only way I know to work around it is to make a JS function to retrieve the cookie, and then grab the cookie in to Flash to append it to the upload URL. you HTML page put JS to get the cookie...something like this:

function getCookie( name ) {
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) &&
( name != document.cookie.substring( 0, name.length ) ) )
return null;
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ";", len );
if ( end == -1 ) end = document.cookie.length;
return unescape( document.cookie.substring( len, end ) );
In your flash:
import flash.external.*;
var cookie:String ="getCookie", "cookieName").toString();

Then in your upload function:

When it comes to NTLM Auth I don't have any ideas :(
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.