Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

cf content on a non cf site

we have a cf questionnaire we give access to our clients on our site. Some clients have expressed interest in having it on their site but they do not have cf.

would there be a way to give them some sort of code/script to put on their site to serve up the content and results?...without getting them to install cf
0
Shawn
Asked:
Shawn
  • 6
  • 4
1 Solution
 
SidFishesCommented:
You could do an iframe so it could be branded via client site but everything else happens on yours I do this using Static FBML so it looks like the app I have on FB is integrated with FB but it's just and iframe to our site.

Other than that - not really.

Railo is free/open source so if they did need "CF" you could install that
0
 
ShawnAuthor Commented:
good idea. FBML is only for FB right? On a "regular" html web page how would I code it?
0
 
ShawnAuthor Commented:
ok, got it. so you would just do something like this:

<iframe src="http://www.mysite.com/myproject.cfm" width="80%" height="110"> </iframe>

0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
SidFishesCommented:
yes fbml is like bbml  (if you're old enough to remember that :)

<iframe src="http://www.yersite.com/ scrolling="yes/no" frameborder="0" style="whatever" allowTransparency="true/false"></iframe>

0
 
ShawnAuthor Commented:
it looks like most browser support iframes now but can they be shut off like javascript or diabled in a corporate environment? in other words any gotchas?
0
 
_agx_Commented:
(no points ...)

Yep, they can be disabled.  They could simply link to a page on your site instead. But I assume that's not what you're going for ...
0
 
SidFishesCommented:
Yes there are ways to block iframes (noscript for FF is one)

There are also cross domain security restrictions built into browsers so what's in your iframe can't (theoretically) interact with the framing page if they aren't in the same domain. (although they can be and frequently are  used for evil purposes)

You need to assume there can be no interaction between the "host" site and your app


0
 
ShawnAuthor Commented:
so as a workaround for disabled you could do something like this:

<iframe src="http://www.yersite.com/ scrolling="yes/no" frameborder="0" style="whatever" allowTransparency="true/false">
It looks like your browser does not supoort iframes.
 That's ok...take our new survey <a href="www.mysite.com/test.cfm">here</a>
</iframe>

0
 
ShawnAuthor Commented:
>>You need to assume there can be no interaction between the "host" site and your app

would I be at least able to capture the browser's url to see where it was being used?
0
 
SidFishesCommented:
if you mean tracking from your client (ie: 200 hits from client a 230 from client b) then yes you'd just need to mod the bit of code you provide to your client to include a url param<iframe src="http://www.yersite.com/index.cfm?client=a"> and read the url var and store it or whatever
0
 
ShawnAuthor Commented:
nice. thanks for a great solution
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now