且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ColdFusion中J2EE会话管理的缺点

更新时间:2023-09-19 13:53:22

没有,我发现,真的。一旦J2EE会话管理可用,我开始使用它,没有麻烦。

None that I've found, really. As soon as J2EE session management became available I started using it and have had no troubles.

我唯一的问题是,即使你打开J2EE会话管理,如果您将setclientcookies设置为,那么仍会创建CFIDE / CFTOKEN Cookie对。这在我目前的环境中造成一个问题,因为有一个针对永久性Cookie的政策。

The only problem I had with it was that even if you turn on J2EE session management, if you "setclientcookies" to yes the CFIDE/CFTOKEN cookie pair is created anyway. That caused a problem in my current environment as there is a policy against persistent cookies.

我想如果你需要一个会话,如果浏览器关闭并重新启动,则J2EE会话管理不适合您。

I suppose if you have a need for a session to remain available if the browser is closed and restarted then the J2EE session management isn't for you.