On 4/15/07, Stefan <seaside.ki mac.com> wrote:
> Hi,
>
> does anybody has a 'shrink-wrap' solution to upload a
single file
> using OpenLaszlo?
>
> I'd perfer a 'show nothing' solution, where I may add
two image
> parameters: One image
> should be used to indicate the file drop-zone, while
the alternate
> image should appear,
> once the user is about to drop a on the drop-zone.
Thus, the
> OpenLaszlo app
> basically has no own UI.
>
> Kind regards,
>
> Stefan
>
I second the desire to see a solid solution for uploading
files in
laszlo. I have prototype code using flash.fileReference, but
there are
two problems. One is that it was working but stopped for
unknown
reasons.
The second problem is much more troublesome. When it was
working, the
Flash Runtime did not send the session cookies with the
uploaded file!
It was received by my web-stack as an anonymous user.
Can anyone offer a solid solution/and or enlighten me as to
why the
session cookie would get sent with every normal LZX request,
but not
one sent from flash.fileReference? Is it a get/post issue or
perhaps
LZX is nice enough to do this work for me automatically?
thanks extremely, you'd make my day to have the answers
- James
|