Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 187563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:50:44+00:00 2026-05-11T15:50:44+00:00

I have a flex app that uploads files to a server. The server requires

  • 0

I have a flex app that uploads files to a server. The server requires authentication to be able to upload. In IE the upload works fine. However in FF and Safari, it does not upload. I have seen people all over with this same problem but no answers. Don’t fail me now stackoverflowers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T15:50:44+00:00Added an answer on May 11, 2026 at 3:50 pm

    I found this question while trying to find the answer myself. The solution was rather simple.

    Based on the flash player bug that others have linked, and the comments on that page, I decided to append session identifiers to my upload URL and give it a shot. It really was that easy!

    To make it work, I started by adding a flashVar parameter called sessionParams. This allowed me to pass any string I want in to the flash player as my session identifier, and it will later get appended to the URL used to upload.

    //sessionParams - resolves firefox upload bug public var sessionParams:String = '';  //...  public function initApp():void{     sessionParams = Application.application.parameters.sessionParams; } 

    In my case, I’m on ColdFusion with java sessions enabled, so my sessionParams are setup like the following before being passed into the flash player:

    <cfset flashVars = 'sessionParams=#urlEncodedFormat('jsessionid=' & session.sessionid)#' /> 

    Don’t forget to escape special characters like =,&, etc (which I’ve done with urlEncodedFormat), so that they are treated as part of the value of the ‘sessionParams’ parameter, and not breakpoints to indicate other parameters. You’re embedding future-URL information in the current URL.

    Then, use the sessionParams value in your upload code. Here’s a snippet of how I set mine up:

    // Set Up URLRequest _uploadURL = new URLRequest; _uploadURL.url = _url + '?' + _sessionParams; _uploadURL.method = 'GET'; _uploadURL.data = _variables; _uploadURL.contentType = 'multipart/form-data'; 

    The variable names are different (but similar) because this is part of a reusable class.

    Hopefully that helps you. If not, let me know and I’ll try to provide more code or explanation to help you out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 108k
  • Answers 108k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Session is probably a global object which has a default… May 11, 2026 at 9:12 pm
  • Editorial Team
    Editorial Team added an answer boost::mpl does something like this (here's their idea of binding… May 11, 2026 at 9:12 pm
  • Editorial Team
    Editorial Team added an answer Could it? Yes. If you are very careful and perform… May 11, 2026 at 9:12 pm

Related Questions

I've got a project which requires a fairly complicated process and I want to
We currently have a Java applet that generates a lot of data and uploads
I have a Flex App that allows you to dynamically build an animation. It
I have a flex application that needs the ability to generate and execute JavaScript.
I have a requirement on my current project (a Flex app which will be

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.