• jwoodall
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I have developed a VF page that I would like to frame into a standard html page on a webserver.  If I am logged into SF in another tab, everything works great.... but if I logout and try to go directly to my page with the iFrame... I get a blank white box with this source:

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html> 
<head> 
    <meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> 
 
 
 
 
 
<script> 
var escapedHash = '';
var url = 'https://login.salesforce.com/?ec=302&startURL=%2Fvisualforce%2Fsession%3Furl%3Dhttps%253A%252F%252Fc.na7.visual.force.com%252Fapex%252FChatter_Page';
if (window.location.hash) {
   escapedHash = '%23' + window.location.hash.slice(1);
}
if (window.location.replace){ 
window.location.replace(url + escapedHash);
} else {;
window.location.href = url + escapedHash;
} 
</script> 
 
</head> 
 
 
</html> 

 

Which makes it look like the login page should be appearing.  Also, if I paste the URL variable into my browser, everything works fine.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I have developed a VF page that I would like to frame into a standard html page on a webserver.  If I am logged into SF in another tab, everything works great.... but if I logout and try to go directly to my page with the iFrame... I get a blank white box with this source:

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html> 
<head> 
    <meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> 
 
 
 
 
 
<script> 
var escapedHash = '';
var url = 'https://login.salesforce.com/?ec=302&startURL=%2Fvisualforce%2Fsession%3Furl%3Dhttps%253A%252F%252Fc.na7.visual.force.com%252Fapex%252FChatter_Page';
if (window.location.hash) {
   escapedHash = '%23' + window.location.hash.slice(1);
}
if (window.location.replace){ 
window.location.replace(url + escapedHash);
} else {;
window.location.href = url + escapedHash;
} 
</script> 
 
</head> 
 
 
</html> 

 

Which makes it look like the login page should be appearing.  Also, if I paste the URL variable into my browser, everything works fine.