Portal page not refreshed after using the browser back button

Solution Verified - Updated -

Issue

  • We have a portal extension which is providing a logout function calling the provided 'exo.portal.logout();' method. However, it appears that the session is not invalidated. When I click the back button on the browser after the logout function was called, the previous page is displayed just as if the user was still logged in. Is this a bug related to session invalidation?

  • We have noticed that all portal pages are returned with the following header: 'Cache-Control: no-cache'. Is it possible to change this header, eg. to 'no-cache, max-age=0, must-revalidate, no-store', in order to force a page reload when the browser back button has been clicked?

Environment

  • Red Hat JBoss Portal (JPP)
    • 6.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content