开发者

Is it possible to change the path of the JSESSIONID cookie?

By default, Glassfish stores the JSESSIONID cookie at the context path, for example "/mysite". Is it possible to change this path, for example to "/mysite/admin"? I would like the session to be only v开发者_运维问答alid in part of my website, without having to split it into two separate websites.


Perhaps the other part of your web site should just be configured as another web context? The general idea is that each web context has its own set of sessions, and you don't share nor split them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜