互联网服务 WebSphere中间件portal

WebSphere Portal 6.1 重定向导致空闲对话超时问题

标题:WebSphere Portal 6.1 redirect behavior on idle session timeout

Problem(Abstract)

Redirect to a specific page does not always occur on inactive session timeout.

Diagnosing the problem

You have set the following properties in the WP_ConfigService and notice different behavior when the session times out depending on the version of WebSphere Portal.
redirect.logout = true
redirect.logout.url =

The session inactivity time out is 30 minutes, however, the issue is not affected by this value.
Resolving the problem


On 6.1.0.1 when the session expires the user is redirected to the page specified as the value for the property redirect.logout.url. On Portal 6.1.0.1 with APAR PK78213 installed or 6.1.0.2 and later versions the user is not redirected to the login page but instead the ErrorSessionTimeOut.jsp is displayed:

1-1.gif



By design, the code has been modified such that the ErrorSessionTimeOut.jsp is always displayed when the session times out if a logout url is configured.

On systems running 6.1.0.1, APAR PK78213 should be installed to maintain consistency across all 6.1 platforms.

To redirect to the login page (or any other page) when the session expires, one of the following methods should be used:

(1) Extend the authentication filter chain and implement the desired logic in code. See the InfoCenter and developerWorks articles in Related URLs below for details.

(2) Modify the ErrorSessionTimeOut jsp to add Javascript to redirect to the login page when the session times out.

Option 2 is simpler to implement but users may see a momentary "flash" when the redirect occurs.

Note that this document discusses redirect behavior on session time out. An "explicit" logout (selecting the logout link) is always expected to cause a redirect to the URL specified as the value for redirect.logout.url.

Related information

PK78213
Infocenter
DeveloperWorks article
参与1

0 同行回答

“答”则兼济天下,请您为题主分忧!

提问者

艾依然
艾依然 1 4 5
其它 惠牛农业
擅长领域: 中间件数据库服务器
评论1680

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2010-04-09
  • 关注会员:1 人
  • 问题浏览:3854
  • X社区推广