[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2265) Timeout of session causes ugly error message

Roy van Rijn (JIRA) jira-events at lists.jboss.org
Fri Dec 19 04:21:54 EST 2008


Timeout of session causes ugly error message
--------------------------------------------

                 Key: JBPORTAL-2265
                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2265
             Project: JBoss Portal
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Portal Core
    Affects Versions: 2.6.6 Final
            Reporter: Roy van Rijn
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list