News for hackers. Stuff that matters.
Re:UK websites place average of 44 cookies on first visit by bartkappenburg on Thursday March 19, 2015 @06:42AM (#9231079)
Self plug: we've developed cookie-checker.com. A way to check which cookies are placed with first time visitor.

ico.org.uk places 3 cookies (1 session, 2 other valid up to today and 2017): http://www.cookie-checker.com/check-cookies.php?url=ico.org....

Re:UK websites place average of 44 cookies on first visit by omh on Thursday March 19, 2015 @06:50AM (#9231108)
When I visit the ICO site I also get a "civicCookieControl" cookie which you don't list. I guess that this is probably coming from javascript and your site isn't processing this?
Re:UK websites place average of 44 cookies on first visit by bartkappenburg on Thursday March 19, 2015 @06:53AM (#9231113)
It's running a headless browser with JS enabled so it should be there... not sure why it doesn't pick it up. Thanks for the mention :-)
Re:UK websites place average of 44 cookies on first visit by LunaSea on Thursday March 19, 2015 @07:59AM (#9231289)
If you are running PhantomJs, did you encounter any issues like memory leaks and socket errors ?

I'd be interested in the solutions you used to solve issues like that if it's not proprietary / private.

Re:UK websites place average of 44 cookies on first visit by ZirconCode on Thursday March 19, 2015 @08:59AM (#9231533)
Also interested, I've tried similar things with watir webdriver and a xvfb/headless mode but the only real 'solutions' I've come across are time-outs. Needless to say it could've been heaps better.
Re:UK websites place average of 44 cookies on first visit by LunaSea on Thursday March 19, 2015 @09:38AM (#9231767)
I didn't do much testing since PhantomJS 2.0 but I know that in the past, it was recommended to reload PhantomJS every +/- 50 pages to free the leaked memory.
Re:UK websites place average of 44 cookies on first visit by bartkappenburg on Thursday March 19, 2015 @10:48AM (#9232286)
We're running HTMLUnit [1]

[1] http://htmlunit.sourceforge.net/

Re:UK websites place average of 44 cookies on first visit by dspillett on Thursday March 19, 2015 @07:22AM (#9231168)
It could also be that the cookies handed out vary geographically, or if a page includes adverts in iframes via an ad provider network the cookies you get will depend which member of the network your request is redirected to this time.
Re:UK websites place average of 44 cookies on first visit by equil on Thursday March 19, 2015 @07:30AM (#9231192)
humorously, checking the site itself seems to trip it up: http://www.cookie-checker.com/check-cookies.php?url=cookie-c...
Re:UK websites place average of 44 cookies on first visit by bartkappenburg on Thursday March 19, 2015 @08:15AM (#9231342)
that's a feature ;-)