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