Henry,

Next time I'm in Newton, you and I are going to go over every word in  
the Developer's Guide that has to do with

--- Consumption of data by SOLO apps
--- HTTP headers
--- Whitespace
--- Security policiy

All of these subjects in their various combiniatoric permutations  
continue to confuse lots of people & we need to get them better  
documented.

I believe that there exist already various doc bugs that touch on  
these subjects, but I've created a new jira task just to be sure:

http://www.openlaszlo.org/jira/browse/LPP-2893

Thanks,

jrs

On Oct 6, 2006, at 8:04 AM, Henry Minsky wrote:

> I wanted to forward this thread from the forums regarding a problem  
> someone had
> with data loading in SOLO mode. The Flash security model is tricky,
> and it sounds like
> several different issues were at play here with deploying an app that
> accesses data
> from a separate server, even if it resides on the same host.
>
>
>
> http://www.laszlosystems.com/developers/community/forums/ 
> showthread.php?s=&postid=24367#post24367
>
>  problem solved
>
> Thanks hqm for your suggestion, I seached and learned the more about
> crossdomain.xml file (I'm not a Flash developer at all so had never
> heard of it before) on posts here and links to external sites and
> these steps solved the problem:
>
> 1. put a crossdomain.xml on the data server with this code:
>
> <?xml version="1.0"?>
> <!DOCTYPE cross-domain-policy
> SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> <cross-domain-policy>
> <allow-access-from domain="*" />
> </cross-domain-policy>
>
> (a bit free with the 'domain="*"' bit, I'll tighten the settings to be
> more specific to my Laszlo app now)
>
> 2. put this code in my laszlo app:
>
> <script>
> System.security.loadPolicyFile("http://localhost:8888/joom/ 
> crossdomain.xml");
> </script>
>
> 3. upgrade my Flash player to version 7,0,68,0 (the highest version I
> can get for my Ubuntu Linux system), it previously running something
> like 7,0,19,0 (can't recall exactly now) - which didn't recognize the
> crossdomain.xml file when asked to do POST requests, but did for
> querystrings.)
>
> ---
>
> ALL those steps are required.
>
> Thanks for your help and time!
>
>
>
> -- 
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED]
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to