Activity Forums Salesforce® Discussions Why are Visualforce pages served from a different domain?

  • Why are Visualforce pages served from a different domain?

    Posted by Anjali on January 23, 2020 at 1:26 pm

    Why are Visualforce pages served from a different domain?

    MOHIT replied 5 years ago 2 Members · 1 Reply
  • 1 Reply
  • MOHIT

    Member
    January 23, 2020 at 1:37 pm

    All our Visualforce pages are used like “c.YOURSERVER.visual.force.com/apex/YOURPAGENAME” ,
    And because of this most of time we run into Same-Origin Policy error in Javascripyt if we try to access parent page from different domain.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos