I have a simple script checking whether a cookie exists or not:
<?php
$output = "<session>";
if (isset($_COOKIE['tokenID']))
{
$output .= "yes";
}
else
{
$output .= "no";
}
$output .= "</session>";
print ($output);
?>
In Flex, I just want to check the result like this:
private function checkSession(event:ResultEvent):void
{
Alert.show(event.result.success);
}
This returns a blank Alert with no result.
But when I use Alert.show(event.message.toString());
I can see the results in body = "<session>yes</session>"
I've also tried it in e4x format with no luck. Yet I've had no
trouble returning xml from other scripts.