I have a Flash video that allows my viewers to select multiple files and upload them to my server. Internet Explorer is working fine. but when I run this in Firefox, Opera, Safari I seem to lose my session variables. The flash video collects the files to be uploaded and sends them to a cfm template.(upload.cfm) But for some reason the cfm template pays no attention to session, or even client variables. Why is this. Does Internet Explorer secretly store all variables (including session variables) in a separate locations so that the variables stay persistent. I don't get it.
Try dumping all the scopes you suspect using a format like: <cfdump var="#session#"> and that may make it clearer.
If i execute the upload.cfm page by requesting it through the browser then I can dump the session scope just fine. It shows all the session, client, and url variables. But when the upload.cfm is requested by the flex application none of these scopes are available. I have set up a little cfmail tag to email the variables from all the scopes. All i get when I run the flex application and request the upload.cfm template is an error. My error handler picks up and says "Element Userid is Undefined In session scope" A bunch of baloney if you ask me. It must be something to do with Firefox, Opera, and Safari.... I don't see how though any application can request a template from the server and the server doesn't out put the session variables. Unless... (i just though of something) When the Flex 2 application runs it must start a new session. And thats why the session variables that were set when the user who logged in arnt set anymore. But when you navigate away from the flex app the old session is still live. i don't know. It makes no sense. Everything works fine in Internet explorer...go figure