473,396 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to second website page into my first website?

I m trying to display webpage into second website using iframe but i don't want to use iframe. Is their any way rather than iframe?
Feb 19 '19 #1

✓ answered by gits

of course - that is what i did mention above already and how it has to be since it is a security feature. there is no simple way to circumvent the same origin policy.

6 3238
Luuk
1,047 Expert 1GB
You can use an object, but that is basically a replacement of an iframe ...
Feb 19 '19 #2
Trying below but not successful

Feb 20 '19 #3
gits
5,390 Expert Mod 4TB
the problem is the type in that case (has to be a valid MIME-Type) - it should be:

Expand|Select|Wrap|Line Numbers
  1. application/xhtml+xml
or:
Expand|Select|Wrap|Line Numbers
  1. text/html

but even then the question is why you dont want to use an iframe. the object element will respect the same origin policy as well, like an iframe does.
Feb 20 '19 #4
same error i got like iframe.
Refused to display 'https://example.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Feb 20 '19 #5
gits
5,390 Expert Mod 4TB
of course - that is what i did mention above already and how it has to be since it is a security feature. there is no simple way to circumvent the same origin policy.
Feb 20 '19 #6
Luuk
1,047 Expert 1GB
You could also use this page:
https://www.web2pdfconvert.com/to/jpg
to convert the website to an image,
and show this image.

But it's a bit unclear why you really want to show 'a website' witin another site.
Feb 21 '19 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Chris Fink | last post by:
I encountered a very odd error this afternoon. A website that has been in production for quite some time suddenly came up with a page cannot be found on the main index.aspx page for the site. 5...
1
by: Flip | last post by:
What do people tend to prefer? I was looking at that last night and got a bit confused about the two options? It seems the deploy option deletes/cleans out any existing code from the IIS website...
3
by: Shawn | last post by:
Does anyone know a way to run a webpage on a webpage like the WebBrowser control in vb.net?
3
by: svd | last post by:
Hi all, First off, I'm developing in VB.NET 2003. I would like to have a button on Company A's web page display Company B's web page in a popup window. It needs to pass a serialzed class...
1
by: samadams_2006 | last post by:
Hello, I have Visual Studio 2005 and am developing my first web site. I see TreeViews, ReportViewers, etc. but I'm not sure which approach that I should choose. Let me tell you what I'm going...
1
by: MelissaS | last post by:
I'm a beginner with ASP.Net. I've created an ASP.Net web page in Visual Studio. This page was part of a complete project. I'd like to post this one page to the web. When I post the page, I...
6
by: Steve Richter | last post by:
what with the website solution structure not having a namespace, how does the class of one website .aspx page class reference the class of another page in the same website? I have two pages....
5
by: rockdale | last post by:
Hi, all: I have a website with its own login page. Now one of my clients want their employees log into my website from their website. They want to have their login page (look and feel are...
2
by: Dipti Dhiman | last post by:
I m making calendar in server control page by taking composite control.I am also adding textbox in each cell of calendar. Now i want to access the value of each textbox of selected month and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.