apache+Tomcat 会话通用问题
作者:英雄无敌 日期:2007-04-09
今天干活遇到一个问题,apache下shtml中包含的服务器端文件取到的会话和tomcat中取到的会话不一样,折腾半天突然想起去年也遇到同样的问题,就是想不起来怎么解决的,近一个小时后才弄出来就是tomcat的配置server.xml中这一节里
emptySessionPath="true"
tomcat站点里ajp是这么说的
If set to true, all paths for session cookies will be set to /. This can be useful for portlet specification implementations, but will greatly affect performance if many applications are accessed on a given server by the client. If not specified, this attribute is set to false.
cookies的路径问题啊,记录一下,下次别又忘了
评论: 0 | 引用: 0 | 查看次数: 4182
发表评论