apache+Tomcat 会话通用问题


今天干活遇到一个问题,apache下shtml中包含的服务器端文件取到的会话和tomcat中取到的会话不一样,折腾半天突然想起去年也遇到同样的问题,就是想不起来怎么解决的,近一个小时后才弄出来就是tomcat的配置server.xml中这一节里
                   enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

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的路径问题啊,记录一下,下次别又忘了


上一篇: 赖宝日记
下一篇: 羊群的选择(强!)
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 0 | 引用: 0 | 查看次数: 3961
发表评论
昵 称:
密 码: 游客发言不需要密码.
邮 箱: 邮件地址支持Gravatar头像,邮箱地址不会公开.
网 址: 输入网址便于回访.
内 容:
验证码:
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 5000 字 | UBB代码 关闭 | [img]标签 关闭