Share ›

Cookie Problem Fixed

Announced Feb. 6, 2017 by Armin No Comments on Cookie Problem Fixed

Tags /

If you have ever tried to visit Brand New and gotten instead a status page that reads 400 Bad Request and it does not allow you to access the site, the problem has been solved! If you are affected by this, the short of it is that you need to clear your cache, specifically the cookies from your cache, and even more specifically the underconsideration.com cookies from your cache — if you know how to do the latter, this is the ideal solution as you won’t lose cookies from other sites. After you clear your cache, you will not be affected by this again (unlike before, where the problem would return). Now, if you are interested in the long of it, read on…

It’s been a problem plaguing a small percentage of users for two or three years and only this past week I was able to understand what the problem was. Well, I knew the problem had to do with the cookies — cookies placed by the polls. But I don’t know much if anything about cookies. After years of telling people to empty their cache but not able to offer a long-term solution or proper explanation and with the looming redesign of Brand New I knew I had to get to the bottom of it. I usually don’t fill the polls myself because I already wrote a bunch of paragraphs with my opinion so there is no satisfaction in clicking on the polls. So I started clicking on the polls to see if I could replicate the problem. After a couple of weeks I didn’t have any issues so I looked into analyzing the cookies through Google Chrome that allows me to look at each specific cookie… and there it was. I could see a bunch of cookies, one for each question of each poll… so, after a week I had about 30 cookies. I thought “that can’t be healthy”. I clicked on one of the cookies and all the way at the bottom of its data I discovered what the problem was: each cookie was set to expire ONE YEAR after it had been placed. So, over time, the cookies accrue in your cache en masse and they eventually make the site inaccessible in some browsers. FYI: the cookies are placed so that you can vote on a poll only once and not get all vindictive or take advantage of the polls to make someone look extra bad or extra good. So, after figuring out where in the hell the expiration for the cookies gets coded, I managed to change it, and now cookies expire after 24 hours, so you have room for a fresh batch each day!

Comments


Share ›