kill cookie on browser close

2009-11-12 Thread Chad Gray

Anyone notice that in IE this codes does not appear to work anymore?  Firefox 
it works just fine.

I don't think it is just my browser... I have tried another computer with IE8 
and it does not kill the session cookie.


!--- if the user closes their browser, make sure all session variables get 
killed ---
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


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328303
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: kill cookie on browser close

2009-11-12 Thread Dan G. Switzer, II

Chad,

Make sure you don't have any instances of IE open--including things that
might use the IE underneath (like an RSS reader, etc.)

-Dan

On Thu, Nov 12, 2009 at 11:39 AM, Chad Gray cg...@careyweb.com wrote:


 Anyone notice that in IE this codes does not appear to work anymore?
  Firefox it works just fine.

 I don't think it is just my browser... I have tried another computer with
 IE8 and it does not kill the session cookie.


 !--- if the user closes their browser, make sure all session variables get
 killed ---
 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


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328306
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: kill cookie on browser close

2009-11-12 Thread Chad Gray

Must be something on my end.  The production server this code does not work in 
IE and the dev server it does work in IE.

Strange.

 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Thursday, November 12, 2009 11:40 AM
 To: cf-talk
 Subject: kill cookie on browser close
 
 
 Anyone notice that in IE this codes does not appear to work anymore?
 Firefox it works just fine.
 
 I don't think it is just my browser... I have tried another computer with
 IE8 and it does not kill the session cookie.
 
 
 !--- if the user closes their browser, make sure all session variables
 get killed ---
 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
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: kill cookie on browser close

2009-11-12 Thread Chad Gray

Ah.. interesting.  I use Rhapsody that I believe uses IE.  I will close all 
applications and try again.

Thanks,
chad

 -Original Message-
 From: Dan G. Switzer, II [mailto:dswit...@pengoworks.com]
 Sent: Thursday, November 12, 2009 12:36 PM
 To: cf-talk
 Subject: Re: kill cookie on browser close
 
 
 Chad,
 
 Make sure you don't have any instances of IE open--including things that
 might use the IE underneath (like an RSS reader, etc.)
 
 -Dan
 
 On Thu, Nov 12, 2009 at 11:39 AM, Chad Gray cg...@careyweb.com wrote:
 
 
  Anyone notice that in IE this codes does not appear to work anymore?
   Firefox it works just fine.
 
  I don't think it is just my browser... I have tried another computer
 with
  IE8 and it does not kill the session cookie.
 
 
  !--- if the user closes their browser, make sure all session variables
 get
  killed ---
  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
 
 
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328314
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Cookie and Browser

2009-09-03 Thread Don L

I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available for 
Firefox 3.5 or vice verse.  It appears cf cookie set is not browser specific, 
however, when I extended a cf cookie for firefox 3.5, IE7 did not recognize it. 
 Am I missing something here? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325973
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cookie and Browser

2009-09-03 Thread Scott Stroz

You cannot read a cookie set in FireFox with Internet Explorer and
vice versa.  Cookies are browser specific.

On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote:

 I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available 
 for Firefox 3.5 or vice verse.  It appears cf cookie set is not browser 
 specific, however, when I extended a cf cookie for firefox 3.5, IE7 did not 
 recognize it.  Am I missing something here?

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cookie and Browser

2009-09-03 Thread Don L

 You cannot read a cookie set in FireFox with Internet Explorer and
 vice versa.  Cookies are browser specific.
 
 On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote:
 
...
 

ok, thank you. 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325986
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Cookie and Browser

2009-09-03 Thread Jenny Gavin-Wear

IE and Firefox use different directories to store cookies, so they can't see
each others.

-Original Message-
From: Don L [mailto:do...@yahoo.com]
Sent: 03 September 2009 14:07
To: cf-talk
Subject: Cookie and Browser



I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available
for Firefox 3.5 or vice verse.  It appears cf cookie set is not browser
specific, however, when I extended a cf cookie for firefox 3.5, IE7 did not
recognize it.  Am I missing something here?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325989
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Cookie and Browser

2009-09-03 Thread brad

Just to make your head spin-- there is one annoying little caveat to
this.  Cookies sent to a Flash request in IE will be sent by Flash in FF
because the Flash VM shares the same memory space for cookies between
browsers.  This doesn't bode very well if you need to have a Flash
object make a request to a page secured by a login using cookies for
authentication in any browser other than IE.

http://swfupload.org/forum/generaldiscussion/383

~Brad

 Original Message 
 Subject: Re: Cookie and Browser
 From: Don L do...@yahoo.com
 Date: Thu, September 03, 2009 8:56 am
 To: cf-talk cf-talk@houseoffusion.com
 
 
  You cannot read a cookie set in FireFox with Internet Explorer and
  vice versa. Cookies are browser specific.
  
  On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote:
  
 ...
  
 
 ok, thank you. 
 
 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325993
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cookie and Browser

2009-09-03 Thread Don L

Just to make your head spin-- there is one annoying little caveat to
this.  Cookies sent to a Flash request in IE will be sent by Flash in FF
because the Flash VM shares the same memory space for cookies between
browsers.  This doesn't bode very well if you need to have a Flash
object make a request to a page secured by a login using cookies for
authentication in any browser other than IE.

http://swfupload.org/forum/generaldiscussion/383

~Brad

Thank you for your input, Brad, 'fortunately' I'm not using Flash for 
login/security stuff... 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325994
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4