I'm using uploadify to upload images, but as I soon realised, the SWF object is not sharing the same session as the browser.
The reason I think I need the session is to make sure a "hacker" can't upload an image in the name of another user, or overwrite another user's image. I want each image to be 100% private to the uploader
Here are the options I see
use some cryptography to
some other option that is way simpler that I didn't think of (e.g. a non SWF solution, e.g. an ajax one? or just forget about the progress bar, it's not worth it, with our current bandwidth, most users won't even see it)
just use a GUID, it's hard to guess and if someone managed to guess another user's GUID (e.g. the session id) than let him have the fun of overwriting someone else's image, it's not that they stole their credit card right?
Questions
try this, it worked for me:
Can't see any session values when using Uploadify in ASP.NET .
The idea is you have to send the session id back to server and load the session depending on it.