Welcome Guest, Not a member yet? Register   Sign In
why does manually setting $_COOKIE not work (for using Flash upload utility)
#8

[eluser]Chillahan[/eluser]
[quote author="WanWizard" date="1309814473"]Ok, missed that, I assumed only the session cookie was posted (which would be logical).

You could be running into encoding issues, are you using an encrypted cookie? Add some test code to the index.php, before your code, to dump $_COOKIE (or at least the session key), and compare that to the one send by your uploader.

I've build something similar with swfupload in the past, so there's nothing wrong with the way you're trying to solve it.[/quote]

Right on, I know that happens with me and arrays too (not always obvious if you're passing one value or an array).

Was also going to think more about encoding next, but seemed like it couldn't be possible, it's just a string at the base level. Anyway, glad I got it going, was about to give up (for now) and go with an unauthenticated handler hanging out there.


Messages In This Thread
why does manually setting $_COOKIE not work (for using Flash upload utility) - by El Forum - 07-04-2011, 10:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB