opensource
06-09-2006, 06:47 PM
I am writing a SOLO application that requires user to sign in.
The application will be deployed on a Apache webserver. The problem I have run into is that I am unable to read the header's set by the Apache web server.
Here's an example of what I am doing
<canvas>
<dataset name="menu" src ="http://www.somehost.com/php/getdata.php" request="true" getresponseheaders="true"/>
<view>
<text datapath="menu:/menu/food/price/text()" />
</view>
<view clickable="true" bgcolor="blue" onclick="getH()">
<text id="hds"></text>
</view>
<script>
function getH()
{
hds.setAttribute("text",menu.getAllResponseHeaders());
}
</script>
</canvas>
The application will be deployed on a Apache webserver. The problem I have run into is that I am unable to read the header's set by the Apache web server.
Here's an example of what I am doing
<canvas>
<dataset name="menu" src ="http://www.somehost.com/php/getdata.php" request="true" getresponseheaders="true"/>
<view>
<text datapath="menu:/menu/food/price/text()" />
</view>
<view clickable="true" bgcolor="blue" onclick="getH()">
<text id="hds"></text>
</view>
<script>
function getH()
{
hds.setAttribute("text",menu.getAllResponseHeaders());
}
</script>
</canvas>