Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-2265

Timeout of session causes ugly error message

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

      Description

      When somebody browses to a portal webpage and lands on the login page, then waits a long time (the session expires) then tries to logon you'll get the following message:
      HTTPS Status 400 - Invalid direct reference to form login page

      This means the user directly accesed the login-page, not being redirected. (Which is according to the JEE specs).
      But I'd rather see the portal giving a more user friendly message, or implement a workaround.

      A possible workaround is to put the following in the web.xml:
      <error-page>
      <error-code>400</error-code>
      <location>some index page (not login.jsp)</location>
      </error-page>

      But other workaround should also be possible.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Roy van Rijn Roy van Rijn (Inactive)
            Archiver:
            samahaja Sagar Mahajan

              Dates

              Created:
              Updated:
              Resolved:
              Archived: