ProgrammerGuide.Net | Step by Step Programmer Guide

What is Mean by Cross-Origins and Same-Origins? | HTTP Interview Question

Two URLs have the same origin if they have identical schemes, hosts, and ports. (RFC 6454)

These two URLs have the same origin:
These URLs have different origins than the previous two:
  • – Different domain
  • – Different port
  • – Different scheme
  • – Different subdomain
Internet Explorer does not consider the port when comparing origins.

Please click here for related products on Amazon!


Add comment

Want to Check Celebrities News?