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

Internet Explorer使用時の2文字ドメイン名に関するCookieの不具合について

written-by

Brian Suh

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 Digital Experience Platform (DXP)を使用している一部のユーザーから報告されている問題を記録したものです。 報告されているのはCookieの問題で、Liferay環境で2文字のドメイン(例: http://xx.yy)の後ろでInternet Explorerの特定のバージョンを使用すると問題が発生するとのことです。

解決策

この問題を解決するために、セッションクッキーに完全なホスト名とクッキーのドメインを明示的に設定するようにLiferayプラットフォームを構成することができます。 環境の調整を行う前に、ロールバックが必要な場合に備えて、環境のバックアップをとっておいてください。

環境の portal-ext.properties を以下のように設定してください。お客様の環境の仕様や必要性に応じて、関連するプロパティを変更する必要があります:

session.cookie.use.full.hostname=true
session.cookie.domain=<your hostname here>
did-this-article-resolve-your-issue

legacy-knowledge-base