larkante Posted May 8, 2012 Share Posted May 8, 2012 My application is in an iframe that opens in a page that is in another domain. How to pick the url that called the iframe? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 8, 2012 Administrators Share Posted May 8, 2012 In UniURlFrame You assign the URL yourself. Why do you want to retrieve something you already know? Link to comment Share on other sites More sharing options...
larkante Posted May 8, 2012 Author Share Posted May 8, 2012 The page http://example.com/ test.html opens in an iframe my application that is in another domain. I want to know how to get the url that called the iframe. In this example the caller url is http://example.com/test.html Thank. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 8, 2012 Administrators Share Posted May 8, 2012 I didn't understand. You have a TUniUrlFrame in an uniGUI app right? What URL do you assign to it? Link to comment Share on other sites More sharing options...
leandroavila74 Posted May 8, 2012 Share Posted May 8, 2012 I didn't understand. You have a TUniUrlFrame in an uniGUI app right? What URL do you assign to it? I think Larkante said that a domain is an application makes reference to unigui and loads the app within an iframe, which he wants to know is how to find out who made the call domain of the application unigui. That I do not know how. Link to comment Share on other sites More sharing options...
leandroavila74 Posted May 8, 2012 Share Posted May 8, 2012 I didn't understand. You have a TUniUrlFrame in an uniGUI app right? What URL do you assign to it? would be something like: www.website.com is called a url like: http://200.163.190.36:8077 that is being called by a iframe Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 8, 2012 Administrators Share Posted May 8, 2012 would be something like: www.website.com is called a url like: http://200.163.190.36:8077 that is being called by a iframe So answer is 200.163.190.36? Since I'm running the uniGUI server I know what my server IP is which is 200.163.190.36 right? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 8, 2012 Administrators Share Posted May 8, 2012 My application is in an iframe that opens in a page that is in another domain. How to pick the url that called the iframe? Your question is ambiguous. Are you owner of that "another domian"? Or someone else has setup a domain with an iframe calling your app url? Can you describe it with a real example? Link to comment Share on other sites More sharing options...
larkante Posted May 8, 2012 Author Share Posted May 8, 2012 It is just like leandro said, one page opens my application in an iframe. My system will open at various sites via iframe, so I need to know the url that called the iframe containing my application. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 8, 2012 Administrators Share Posted May 8, 2012 I'm not sure if I truly understand you. There are various web pages on the internet which are created by "other" people and those pages contain embedded iframes which call your uniGUI app? Link to comment Share on other sites More sharing options...
larkante Posted May 8, 2012 Author Share Posted May 8, 2012 Exactly. With unigui there any way to get the url that called the iframe or so with some cross-domain technique? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 8, 2012 Administrators Share Posted May 8, 2012 It is a general question related to web technologies. I don't know if it is possible for an iframe to access url of its container. You need to google about it. Link to comment Share on other sites More sharing options...
larkante Posted May 8, 2012 Author Share Posted May 8, 2012 I had researched before creating the topic, wondered if had somehow with unigui. But that's okay. Thank you all for your attention. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now