function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
OnDem DevOnDem Dev 

Visualforce Page embedded in a detail page redirects to the login page



I have a Visualforce page embedded on the detail page of a custom object.

As an Administrator, when i try to login to a particular User's account and try to view the Detail page.

The detail page shows up with Visualforce page embedded in a section, but sometimes the embedded Visualforce page section shows up the login screen.


When i try to login as a User and try to view the same, it works perfectly. it never shows up the login screen.


Can anyone suggest why actually this is happening and what can be the solution?






Message Edited by OnDem Dev on 07-28-2009 11:51 PM

I have a similar issue. If I click the "Login as Portal User" button from the app, the pages appear okay. But if I login to the portal directly (i.e. through Sites) then my embedded Visualforce pages (embedded on a detail page) redirect to the login page.