URGENT - Flash/Flex Upload & Java Session
Posted on 2006-10-26
I wrote a file upload component in Flex 2 and I am trying to upload to a servlet. I need to access the session from the servlet to get objects I have stored in the session but I cannot figure out how to load a session from a session id.
I am using Jrun 4 Update 6.
I have tried setting the url to: /FileUplaod;JSESSIONID=<SESSION ID HERE>, this did not work.
I tried passing the session id as a post parameter named session, also did not work.
What happens is that the Flash Player makes the request from the flash player, which is actually outside of the browsers connections so I cannot access the session using request.getSession().
Is it even possible to load a session from a session id? How can I do this?