legacy-knowledge-base
公開されました Jul. 2, 2025

セッションが切れると、ログインページに再ダイレクトされること

written-by

Ankit Gupta

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

セッションが切れると、ユーザーがどこかをクリックしない限り、ユーザーは既にいた同じページに留まり、ログインページにリダイレクトされます。

環境

  • Liferay DXP 7.0

解決策

セッションが切れたときに、直接ログインページに遷移させたい場合は、以下の手順で行ってください:

  1. コントロールパネル>>インスタンス設定にアクセスします。
  2. そこにデフォルトのランディングページがあるので、そこにログインページのパスを入力してください。
  3. portal-ext.propertiesに追加します。
session.timeout.redirect.on.expire=true

注: これらの手順を実行した後、サーバーを再起動する必要があります。セッションの有効期限が切れると、直接ログインページに移動します。

did-this-article-resolve-your-issue

legacy-knowledge-base