开发者

How Tomcat cookies are formed?

How exactly and when exactly tomcat session cookies are formed.

I can see COOKIE_SUPPORT, GUEST_LANGUAGE_ID, JSESSIONID, LOGIN, I've downloaded source code, but nevertheless cannot see full picture (actually, I can find only JSESSIONID).

It would be nice if you also provide any worthy link about 开发者_开发问答how exactly tomcat sessions are configured and organized.


I'm not sure about the others, but for JSESSIONID you should read the servlet spec for when sessions are to be created. In these specs are features that must be implemented by compatible servlet containers.

Servlet 2.4 spec, SRV.7 Sessions.

Servlet 3.0 spec.

Servlet 3.1 spec.


Only JSESSIONID is specific to servletcontainers. The remnant are specific to Liferay portlet framework which your webapplication is apparently using.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜