PDA

View Full Version : Access https in http page



ymdomar
01-06-2006, 10:43 AM
I have 3 pages like (page1,page2 - http ) and page3 (https / ssl ). In page1 I create 2 frames and i calls page2 and page 3.

Parent page is non-ssl (page1) and frame src page is ssl (page3)

I not able to access the content of https page in html page. I write the following javascript and page2 and gives error Access denied.

parent.window.frame[1].location

Can you please help me, how to access the https content in http.

YOUR HELPS WOULD BE HIGHLY VALUEABLE FOR ME.

Regards
OMR

mwinter
01-06-2006, 04:35 PM
Can you please help me, how to access the https content in http.You cannot. Access between documents served with different schemes (and domains, too) is restricted for security purposes.

Mike

ajaxdude
12-12-2006, 09:31 PM
Is there a work around?

djr33
12-13-2006, 01:17 AM
PHP, server side methods of grabbing the contents of the file and inputting it into your html page would work fine.

Or, you could just convert the overall page to a https page.

If absolutely needed, you could use ajax to call a .php (or similar) page on your server to get the data from the (presently) restricted file and output to the ajax request and then display that on your page.