Just an FYI folks....

It does appear that there is a maximum total cookie size in Opera (that's 
the total length of all cookies set for a domain).  Whatever the upper limit 
is, it's pretty far below IE/Netscape/etc.

I've only seen individual cookie size limits.....but a total size limit for 
all cookies set for a domain is a new one (and a bad one IMHO).

As a result the site that was having issue is blocking Opera users until we 
switch it to SESSION vars or another method later.  That said there have 
only  been 68 unique Opera visits since May 5, 2004 ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
----- Original Message ----- 
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Friday, June 03, 2005 4:16 PM
Subject: Opera and cookies grrrrrr


> Hey All,
>
> I've got a situation where Opera won't set a cookie even when others are 
> set.....anybody seen it before?
>
> THE FLOW:
> -take form data
> -stuff into a query using QueryNew() and QuerySetCell()
> -serialize query using WDDX
> -stick WDDX packet in a cookie via CFCOOKIE
> -navigate to next page via CFLOCATION (cookie setting with CFLOCATION not 
> an issue on CFMX 6.1)
>
> ISSUE WITH CODE BELOW:
> COOKIE.UserReg4 will not get set.  The same issue arises in other forms 
> with other cookies...code is the same.
> It all works fine in IE,Safari,FireFox,Netscape.  The error does not occur 
> when the cookie is set...just on the next page where it is de-serialized 
> and read (get a not defined error because the cookie doesn't exist).
>
> SAMPLE CODE:
>    <!--- No errors = Set-up cookies to hold registration data --->
>    <cfset qRegInfo1 = 
> QueryNew("Mode,DisCode,UserName,Password,SecurityQ,SecurityA,Salutation,FName,MName,LName,NameSuffix,Gender,Country,DOB")>
>    <cfset qRegInfo2 = 
> QueryNew("Salutation,FName,MName,LName,NameSuffix,Gender,Country,DOB")>
>    <cfset qRegInfo3 = 
> QueryNew("Address1,Address2,City,Region,RegionName,PostCode,DayPhone,DayPhoneExt,EvePhone,EvePhoneExt,CellPhone,OthPhone,OthPhoneExt,EMail,ReferralCode,PromoCode,ADTerm,ADFee,OptIn1,OptIn2,OptIn3")>
>    <cfset qRegInfo4 = 
> QueryNew("RegFee,DisCodeType,RefCredit,RefDiscount,PromoCodeDesc,PromoCredit,ReferringPlan,NewPlanRefCode,NewPlanRefExpiry,NewPlanRefCredit,NewPlanRefDiscount,TotalFees,RecurringBill,NewOrderID")>
>
>    <cfset Temp=QueryAddRow(qRegInfo1,1)>
>    <cfset Temp=QueryAddRow(qRegInfo2,1)>
>    <cfset Temp=QueryAddRow(qRegInfo3,1)>
>    <cfset Temp=QueryAddRow(qRegInfo4,1)>
>
>    <!--- Set elements in registration cookies. Many elements are set to 
> empty
>          or dummy values since registration is for a TRIAL membership 
> only --->
>    <cfset Temp=QuerySetCell(qRegInfo1,"Mode","A")>
>    <cfset Temp=QuerySetCell(qRegInfo1,"DisCode","")>
>    <cfset Temp=QuerySetCell(qRegInfo1,"UserName",FORM.txtUName)>
>    <cfset Temp=QuerySetCell(qRegInfo1,"Password",EncPassword)>
>    <cfset Temp=QuerySetCell(qRegInfo1,"SecurityQ",FORM.txtSecurityQ)>
>    <cfset Temp=QuerySetCell(qRegInfo1,"SecurityA",FORM.txtSecurityA)>
>
>    <cfset Temp=QuerySetCell(qRegInfo2,"Salutation","1")>
>    <cfset Temp=QuerySetCell(qRegInfo2,"FName","Trial")>
>    <cfset Temp=QuerySetCell(qRegInfo2,"MName","")>
>    <cfset Temp=QuerySetCell(qRegInfo2,"LName","User")>
>    <cfset Temp=QuerySetCell(qRegInfo2,"NameSuffix","")>
>    <cfset Temp=QuerySetCell(qRegInfo2,"Gender",FORM.radGender)>
>    <cfset Temp=QuerySetCell(qRegInfo2,"DOB",CreateDate(1900, 1, 1))>
>    <cfset Temp=QuerySetCell(qRegInfo2,"Country","255")>
>
>    <cfset Temp=QuerySetCell(qRegInfo3,"Address1","Trial Address")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"Address2","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"City","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"Region","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"RegionName","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"PostCode","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"DayPhone","5555555555")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"DayPhoneExt","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"EvePhone","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"EvePhoneExt","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"CellPhone","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"OthPhone","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"OthPhoneExt","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"Email",FORM.txtEMail)>
>    <cfset Temp=QuerySetCell(qRegInfo3,"ReferralCode","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"PromoCode","")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"ADTerm","1")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"ADFee","0")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"OptIn1","0")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"OptIn2","0")>
>    <cfset Temp=QuerySetCell(qRegInfo3,"OptIn3","0")>
>
>    <!--- Serialize registration information into cookies --->
>    <cfwddx action="cfml2wddx" input="#qRegInfo1#" output="reg1">
>    <cfwddx action="cfml2wddx" input="#qRegInfo2#" output="reg2">
>    <cfwddx action="cfml2wddx" input="#qRegInfo3#" output="reg3">
>    <cfwddx action="cfml2wddx" input="#qRegInfo4#" output="reg4">
>
>    <!--- Store serialized packets in cookies --->
>    <cfcookie name="UserReg1" value="#reg1#">
>    <cfcookie name="UserReg2" value="#reg2#">
>    <cfcookie name="UserReg3" value="#reg3#">
>    <cfcookie name="UserReg4" value="#reg4#">
>
> TIA
>
> Cheers
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208803
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to