1

We are using ColdFusion 9.0.1 and are having issues with the JSESSION cookie being shared between a domain and a sub domain. They are two different websites and we do not wish to share any session information between them.

How do I add a value to the domain field of the jsessionid cookie? I've seen some examples of people creating a second jsessionid cookie manually but I would rather stick to just one.

4

1 に答える 1

0

ドメインがデフォルトで Cookie に設定されているとは思わないため、同じドメインに制限する必要があります。おそらく誰かが jrun-web.xml ファイルを編集し、値をハードコーディングしました (cookie-domain タグを探します)。詳細については、 http://livedocs.adobe.com/jrun/4/Programmers_Guide/techniques_servlet13.htmを参照してください。

于 2013-04-17T19:21:02.060 に答える