Hi guys....

I did a little application using session variables.
I did a signout page that killed the session, but I also wanted some code
that killed the session if the browser was closed.
I got this from Forta's book:

<cflock timeout="20" throwontimeout="No" name="#session.sessionID#"
type="exclusive">
<cfcookie name="CFID" value="#session.CFID#">
<cfcookie name="CFTOKEN" value="#session.CFTOKEN#">
</cflock>

This code worked fine, and killed the session when I killed the browser.

However, I changed the design and moved everything into a POP-UP window.
Now when I close the pop-window the session is not killed unless i close the
window that spawned the pop-up window.  I found this very strange seeing
that the page/code that spawned the window was outside the application.cfm
code.

Is it possible to kill the session when i close the pop-up window?

thanks
chad


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to