I am getting a problem with my visualforce page which has bootstrap integrated to it. Scenerio:
The page when its is accessed from salesforce it creates no problem and works totally fine,but the problem arises when the page is accessed from the salesforce.com sites;
Problem: When accessed from Salesforce.com Sites the page sometimes unable to Save the Input Data ,Sometimes its doesnt Refresh page properly, Sometimes it does'nt Rerender the page properly ,And sometimes it works fine. The user need to access the page only with Salesforce.com Sites. I am pagereference in controller to redirect the page but with sites sometimes it doesnt redirect.
Anyone faced the problem as I am experiencing,please advice me on this.
If you need the code for the page I can provide that too .
Here's the pagereference i am using:
Pagereference pg = new Pagereference(); PageReference(URL.getSalesforceBaseUrl().toExternalForm()+'/apex/ViewApplicationsRecord?id='+appRecord.id); pg.setRedirect(true); return pg; }
When page redirect to itself the saved data does'nt come in right way.