NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on March 03, 2016, 03:10:09 PM

Title: iFrame issue
Post by: markster on March 03, 2016, 03:10:09 PM
I'm trying to display a website on an iFrame within an NetTalk form and have done so in the past, but now I'm having trouble getting the iFrame to display. I've been fiddling with the sample app Hyperlinks/30. After I compile and run, when I click on Browse, then Media and then on the CapeSoft record, I only get a box outline of the iFrame where the website should be showing. What am I missing?

Thanks,

Mark
Title: Re: iFrame issue
Post by: Bruce on March 08, 2016, 09:51:42 PM
Hi Mark,

by default pages served by NetTalk will not appear in iFrames.
You can set it to allow this though.
see http://www.capesoft.com/docs/NetTalk9/NetTalkWebFunctionality.htm#WebserverSecurity
x-Frame-Options setting.

cheers
Bruce
Title: Re: iFrame issue
Post by: markster on March 14, 2016, 03:39:12 PM
I wasn't aware of that setting before, so thanks for the tip. I entered the following:

'allow-from https://www.lowfeesmakecents.com:444'

When I'm trying to load the i-Frame, I'm using the exact same URL, but it's still not showing. I'll fiddle more with the sample app file and see if I can trace it through.

Thanks,

Mark
Title: Re: iFrame issue
Post by: Bruce on March 15, 2016, 02:57:11 AM
try it as blank and see what happens.