Put in you Application.cfm file
<!---Kill Session on Browser Close--->
<cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")>
<cfset cfid_local = Cookie.CFID>
<cfset cftoken_local = Cookie.CFTOKEN>
<cfcookie name="CFID" value="#cfid_local#">
<cfcookie name="CFTOKEN" value="#cftoken_local#">
</cfif>
On Tue, 4 Dec 2001, Tangorre, Michael T. wrote:
> Hi everyone.
> I posted a question about two weeks ago about an issue I was having with an
> application in which I was attempting to charge members of a site by the
> minute when they were logged in to a specific section. I can get a timestamp
> when they log in no problem, and I can get one if the session expires, but I
> am still looking for a solution to getting a timestamp if the browser closes
> either voluntarily or involuntarily. I have been looking into other language
> alternatives but think 90% of what I am looking for can be done using CF.
> Can any of the advanced developers here offer a bit more insight on how I
> should proceed. I have intermediate skills in CF, but I am beginning to
> think that "charge by the minute" is not a good approach, although I am
> working with a guy who will not budge.
>
> Thanks in advance.
>
> Michael T. Tangorre
>
> ============================
> Resident Assistant - Brick
> Web Applications Developer
> A.U. Webteam Slave :-)
> AIM: CrazyFlash4
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists