There are duplicate CFIDES and CFTOKENs session variables when a person uses 
IE8 browser. Other browsers seem fine. We can't figure out why duplicates are 
being included. So, we are trying to delete those session variables with no 
luck.

<cfcookie name="CFID" expires="now" />
<cfcookie name="CFTOKEN" expires="now" />

and we've tried javascript too...
            var createCookie = function(name,value,days) {
                    if (days) {
                        var date = new Date();
                        date.setTime(date.getTime()+(days*24*60*60*1000));
                        var expires = "; expires="+date.toGMTString();
                    }
                    else var expires = "";
                    document.cookie = name+"="+value+expires+"; path=/";
                };
                
                var eraseCookie = function(name) {
                    createCookie(name,"",-1);
                };
                
                eraseCookie("CFID");
                eraseCookie("CFTOKEN");
            
                eraseCookie("CFID");
                eraseCookie("CFTOKEN");
            
                eraseCookie("CFID");
                eraseCookie("CFTOKEN");

Still no luck. Here's the dump from her computer:

HTTP_COOKIE      
CFID=20896392; CFTOKEN=37979387; 
__utma=89202778.639364946.1307983780..1313258701.1313434308.26; 
__utmz=89202778.1307983780.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); 
__HTTP_COOKIE=BAR; LB-Persist=539953674.20480.0000; CFID=19834341; 
CFTOKEN=65045225; __HTTPS_COOKIE=FAR

User can't log in as they have two session cookies.

Any help would be greatly appreciated. Thanks.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346772
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to