473,395 Members | 1,977 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,395 software developers and data experts.

What's cross domain.

dmjpro
2,476 2GB
Cross Domain, the web-applications across various machine or built in a same machine

Expand|Select|Wrap|Line Numbers
  1. <frame name="firstFrame" src="http://localhost:8084/Domain1/testpage"/>
  2. <frame name="firstFrame" src="http://localhost:8084/Domain2/testpage"/>
  3.  
here are two applications in same machine, so can it be considered as cross domains? Because from the domain1/testpage i can access the elements of domain2/testpage. So are these cross domain?
Jul 20 '09 #1
4 2495
Dormilich
8,658 Expert Mod 8TB
isn't "localhost" the domain? IMO, domain1 and domain2 are just subdirectories.
Jul 20 '09 #2
dmjpro
2,476 2GB
@Dormilich
That means the machine should be different ??
Jul 20 '09 #3
acoder
16,027 Expert Mod 8TB
See Same origin policy: http://localhost:8084/ is what you look at. They're both the same so it's the same domain.
Jul 20 '09 #4
Canabeez
126 100+
If you need to test something crossdomain, you can always modify your hosts file, and point another domain like "localhost2" to the same place.. ;)
Jul 22 '09 #5

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

Similar topics

2
by: VK | last post by:
Cross-Domain Interactor (CDI) StarGates 0.9 is released I believe that the post "JSON - Cross domain request"...
1
by: torsten.reiners | last post by:
Hi, We try to implement a "web-application" where we have to access a general web-site -- loaded into a frame -- from another frame using JavaScript. We know that there are security issues...
6
by: Simon | last post by:
Hi All, An experiment i'm doing requires requires a synchronous cross-domain request, without using a proxy. I wondered if anyone had any ideas to help me achieve this. Below is what I have...
1
by: y2ktan | last post by:
hi guys, I am building my web page using AJAX in ASP.Net, now I want to make a cross-domain call from my web application to my web service that both of them are hosted at different machine. I...
6
by: ampo | last post by:
Hello. Can anyone help with cross-domain problem? I have HTML page from server1 that send xmlHTTPRequest to server2. How can I do it? Thanks.
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.