我的会话被称为“Session.MM_Username”。我想在浏览器关闭时“杀死”它。有人可以解释我可能会这样做吗?作为参考,这里是我的Application.cfc代码:在浏览器上关闭会话关闭
<cfcomponent>
<cfset this.applicationname="cfGossip">
<cfset this.applicationname="true">
<cfset this.sessionManagement = true />
</cfcomponent>
大卫的理念是正确的,但在ColdFusion中它使用最好的实施亨利解决方案:J2EE servlet会话管理,它会自动为您创建和处理会话cookie。 – 2009-12-30 23:53:05