Or just use J2EE sessions.
The initial question is about clearing the memory used by the session.
Without this, the memory taken up by a session remains allocated until
that session times out, regardless of whether a person has their
browser open or closed.
On 4/3/07, Dean Lawrence <[EMAIL PROTECTED]> wrote:
> Whoops,
>
> I didn't close my initial cfif statements.
>
> <cfif isdefined("cookie.CFID")>
> <cfcookie name="CFID" value="#cookie.CFID#">
> </cfif>
> <cfif isdefined("cookie.CFTOKEN")>
> <cfcookie name="CFTOKEN" value="#cookie.CFTOKEN#">
> </cfif>
>
> > Les,
> >
> > I've used this a number of times.
> >
> > <cfif isdefined("cookie.CFID")
> > <cfcookie name="CFID" value="#cookie.CFID#">
> > </cfif>
> > <cfif isdefined("cookie.CFTOKEN")
> > <cfcookie name="CFTOKEN" value="#cookie.CFTOKEN#">
> > </cfif>
> >
> > This basically copies the user session cookies back onto themselves,
> > but with no expiration date. This turns them into a session cookie,
> > which are destroyed when the browser is closed.
--
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2
Build sales & marketing dashboard RIAâs for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274392
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4