How You Require Customers to Log Out From the Customer Portal

You can require customers who log in to your customer portal from an external site to also log out from the external site.

If you do, the Logout link is removed from the customer portal. Customers who log out from the external site must be redirected to the ci/pta/logout page, where all cookies are cleared and customers are logged out of the customer portal. Customers do not see this page, but are instead directed to the page defined in the PTA_EXTERNAL_ POST_LOGOUT_URL configuration setting after they log out of the customer portal. This might be your external home page, for example, or a page with a message that confirms successful logout.

You can also allow customers to log out from the customer portal even when they have logged in from an external site using pass-through authentication. The PTA_EXTERNAL_ LOGOUT_SCRIPT_URL configuration setting defines the page where customers are directed after logging out of the customer portal, and it allows the display of the Logout link on the customer portal. (If this setting is blank, customers cannot log out of the customer portal because no Logout link displays. In this case, they must log out through the external site instead.) When customers click the Logout link, they are logged out of the customer portal and directed to the external URL specified in the PTA_EXTERNAL_LOGOUT_SCRIPT_URL configuration setting. Your code defines what happens next. For example, you might log customers out of your external site automatically when they log out of customer portal. In that case, customers can be directed to the page specified in the PTA_EXTERNAL_POST_LOGOUT_URL configuration setting.