Restrictions on number of cookies?
I know there are restrictions on the number of cookies that you can add to a browser, I can't remember the numbers from my tests a while ago, but I think it started to run into trouble at around 150.
I have an issue where I am trying to delete 57 cookies but the browser goes into a loop, and then resets the connection, this is over HTTP. If I switch it to HTTPS, using HTTP/2 it works with no problems, but I don't want to have to rely on the HTTP/2.
If I lower it a little bit I can get around 50 to work, but if I add other cookies or increase the loop to 57 I have the problem
Is this a restriction in the browser or is there anything I can do in the CF admin to increase capabilities?
This is how I'm doing it. Maybe there is a better way to just tell it to destroy ALL cookies. Although I also worry now about other parts of the site where I create cookies.
** After posting this I went back to my local Win 10 development setup and tested it again, I found that I could delete well over a 100. I am guessing this has something to do with me moving from Win 2008 to Win 2016 for production. There must be a setting in the newer IIS that is tripping it. I imported all my settings for CF from the 2008 box so they should be the same
*** Went back and tested on Win 2008, works fine. Same CF settings. This must be an IIS issue on Win 2016
<CFSET gameauth = ARRAYNEW(1)>
<CFSET gameauth[1] = "AAA">
<CFSET gameauth[2] = "BBB">
<CFSET gameauth[3] = "CCC">
<CFSET gameauth[4] = "DDD">
<CFSET gameauth[5] = "EEE">
<CFSET gameauth[6] = "FFF">
<CFSET gameauth[7] = "GGG">
etc.etc up to gameauth[57]
<CFCOOKIE name="gametoken" value="" expires="now" domain="#cookiedomain#">
<CFLOOP INDEX="gamecounter" FROM="1" TO="57"><CFCOOKIE name="#gameauth[gamecounter]#" value="" expires="now" domain="#cookiedomain#"></CFLOOP>
