I am getting this exact same behavior.   Does anyone have an answer for this?

 

It seems that the Flex app within Firefox will maintain one session for an Upload request and a different session for a get request back to the server.  Within the same application you can do multiple posts/gets and uploads and it keeps the same session, but a different one for posts/gets and uploads.   It is as if the browser has two session going on.

 

The bad thing here is that it practically makes an upload application useless if a person has logged in via the web site.   When they do an upload, the web site will not recognize the sessionid as logged in and it will not work.

 

Also, adding a session id like jsessionid to the URL of the upload most likely will not work if the server thinks the browser is accepting cookies, which it is.

 

Any ideas here?  If this is a bug that can’t be worked around, it is a real problem for us.   We can’t make our users only use Internet Explorer.

 

Thanks,

Jason

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Druce
Sent: Wednesday, August 30, 2006 10:13 PM
To: [email protected]
Subject: [flexcoders] FileReference (upload) session cookie problems

 

Hi,

I've been playing around with Flex 2 to upload images to my web application. I'm using a cookie to maintain a session (it contains a session_id) and when I upload the file, it is behaving strangely using Flash player 9. In Internet Explorer 6.0, a new session will be created, meaning that the cookie wasn't passed with the POST and  this session will be used for future GET requests. In Mozilla Firefox 1.5, a new session will be created that will be used for future file uploads, but the GET requests will use the old session still, so it looks like two client cookies are being maintained. Any help or tips to get around this problem would be greatly appreciated, I'm using ruby on rails on the server side so cookies are my preferred option for maintaining session state - passing it as a URL parameter is a little messy.

thanks,
Richard.
contactdick@yahoo.co.uk

 


On Yahoo!7
Photos: Unlimited free storage – keep all your photos in one place!

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to