- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
08-08-2011 05:07 AM
I have created sites and provided access to it for Customer Portal users. I used the /secur/logout.jsp in my logout links intially and when ever a user clicks on it they were redirected to my website which was setup as the logout URL in the customer portal settings.
Due to requirements I changed the logout to a custom visual force page and then called the /secur/logout.jsp using hidden iframe in the page. The logout was performed and the users were getting redirected to the logout URL.
With another requirement change I disabled the redirect to the logout URL by not providing any value for the field in the customer portal setting.
Now I have set a redirect link back to my website, upon logout it tries to redirect by fails and stays in the custom page itself. If I directly provide the link to /secur/logout.jsp then on logout it redirects me correctly.
What is happening to the link? I would like to go to the custom logout page first and then get redirected to the website that is provided in the Logout URL field. What needs to be done.
Solved! Go to Solution.
08-10-2011 12:50 AM
Found the problem.
The Iframe that was calling the secur/logout.jsp page was getting redirected to the link provided in the Customer portal setup.
I have now included the HTML meta tag to make the redirect to the required page by setting a timer.
the tag that was used was
Got this info from some Asp.Net forum.