Welcome to the new Uploadify Community Forums. We've made the switch from PHPBB to Vanilla Forums in hopes of controlling the SPAM more efficiently. We hope this change doesn't suck so much. Also, don't forget to wrap your code in tags. You can quickly insert code using ctrl + f.
I lost some messages that were posted on February 4th. If you posted a message or reply on February 4th, please do so again. Sorry about the inconvenience.
session gets lost somewhere
  • Hi all,

    I want to use uploadify in a file storage app I made. the directory where the uploaded file is to be stored is saven in a session variable.

    However, if I call $_SESSION['uploaddir'] it is empty. In fact if I print_r($_SESSION) is is an empty array. I stated session_start() where needed. Is there anything about uploadify that empties my session?


    greetz,
    Marvelade
  • pass your session in with scriptData tag
  • what if some security data is to pass through $_SESSION in uploader.php and is not whanted to pass through someone's firebug? =)
  • then encrypt it
  • Flash creates it's own session when it starts the upload. If you want to get the original session back daveznspace is correct, you need to pass the id of the through the scriptData option. Refer to this post if you want more information on sessions http://uploadify.com/forum/viewtopic.php?f=5&t=43

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!