legacy-knowledge-base
公開されました Sep. 10, 2025

Google Chrome でセッション タイムアウトの自動延長が失敗する

written-by

Katalin Györgyövics

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

問題

  • session.timeout.auto.extend が true に設定され、session.timeout と session.timeout.auto.extend.offset がすべて構成されている場合でも、ユーザー セッションは約 10 ~ 15 分の非アクティブで期限切れになります。 この問題は、Google Chrome を使用している場合にのみ発生します。

Environment

  • DXP 7.3

解決策

  • この問題は、Liferay の session.js ファイルの setInterval が劇的に遅くなると発生します。 間隔は 1 分単位でチェックされないため、セッションが延長されるまでに、サーバーでは既に有効期限が切れています。 セッションの期限切れは Google Chrome でのみ発生し、通常、session.timeout が低く (2 分など)、session.timeout.auto.extend.offset が 60 未満の場合に発生します。
  • セッションを維持するには、次の回避策に従ってください: session.timeout.auto.extend.offset を 60 (1 分) 以上に増やし、session.timeout を 2 以上に増やします。 たとえば、次の値を portal-ext.properties ファイルに追加します。
session.timeout=3
session.timeout.auto.extend=true
session.timeout.auto.extend.offset=70

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base