[cfaussie] Re: Kill them all!!!! --- ALL sessions

2006-06-06 Thread Dale Fraser

Yes,

Use this

!--- Set Session Cookies To Expire When Browser Is Closed
---
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

This is pretty standard I think everyone has this bit of code in
application.cfm

Or like us in OnRequestStart of application.cfc

Regards
Dale Fraser



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of cfgroupie
Sent: Wednesday, 7 June 2006 10:49 AM
To: cfaussie
Subject: [cfaussie] Kill them all --- ALL sessions


Howdy people,

I have found a tiny issue with our application. When we close the
browser it doesn't release the application. i.e. the session doesn't
seem to clear.

1. Is there a way to totally blow away all sessions when the browser
closes. prefer not to call another page using javascript if we can get
away with it.

2. Does Application.cfc have any abilities to cater for this?

3. Any other ideas.

Its becoming serious issue. Below is a little snippet of our
Application.cfm pretty standard stuff.

cfapplication
 name=Validator_2_3_DEV
 sessionmanagement=yes
setclientcookies = true
sessiontimeout=#CreateTimeSpan(0,1,0,0)#
 clientmanagement=true


cfset cookie.cfid = session.cfid
cfset cookie.cftoken = session.cftoken

Jeremy




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Kill them all!!!! --- ALL sessions

2006-06-06 Thread cfgroupie

Thanks guys,

Didn't work, although I think I had tried that once before. Thanks for
your help nevertheless. 

jeremy


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Kill them all!!!! --- ALL sessions

2006-06-06 Thread Rod Higgins
cfscript sessionTracker = createObject(java, coldfusion.runtime.SessionTracker);
 // once created maybe something like the cleanUp() function
 // but it depends on how your ending thesessions sessionTracker.cleanUp();/cfscript
cfdump var=#sessionTracker#
This might send you on the right path 

hth
Rod
On 6/7/06, cfgroupie [EMAIL PROTECTED] wrote:
Thanks guys,Didn't work, although I think I had tried that once before. Thanks foryour help nevertheless.
jeremy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---