This content has been marked as final. Show 3 replies
Instead of using one.html, two.html,three.html,... can i directly access my online application pages using the iframe if yes how to my online application is in php.
You can directly access the online application -- if the user is online, of course. The pages are sent by the server as HTML (you couldn't, of course, load the php source into the iFrame). One issue with your setup for this is that by setting the sandboxRoot attribute to the root of your website, you can't actually access the website. Instead of sandboxRoot=" http://xyz.com" use sandboxRoot=" http://xyz.com/air/" (or some other dummy folder name). Otherwise AIR will look for all URLs from xyz.com in your application's "remote" directory.
If i use the above said directory structure how to implement the functionality like if user is logged in how to redirect
i can use window.document.location.href='....' but what is the url for the is it of type app:/.... or else
Use " http://xyz.com/air/2.html" (assuming you added air to the sandboxRoot path). The part of the url matching the sandboxRoot attribute is replaced with the string in the documentRoot attribute.
Thanks for the reply.
I will be very much thankful to you if i could get some example code representing the said scenario because i could not get this working.
thanks for the suggestion. with u r help i could make my air application to work with my online php appl
ondominitialize="setupBridge()" width="98%" height="450" allowCrossDomaininXHR="true">