Well not quite but almost. Here’s my dilemma, I have a flex app that allows the user to upload files. My backend PHP script utilizes session variables to ensure the user has the appropriate credentials before proceeding with the upload. When ran under a firefox browser, it appears as though a brand-new session is created when flex calls the upload.php script.
Here’s a recap..
1) Flex app uploading a file via
2) Upload.php check requires existing session vars to be present
3) When invoked via firefox upload.php has NO existing session variables
4) IE works great!! Yep, I can’t believe it either.
It *is* possible to pass the php session information (
print("?".session_name().'='.session_id());) to the upload script but that’s not a viable option due to security concerns.
For now, I’ve coded up a hack around this problem, but I’m hoping to have some more time in the near future to investigate further.