Cookies required for read-only anonymous browsing


(Sam) #1

If I do not enable cookies for a Discourse site, I get nearly blank white pages. No content, no error messages, no clues that I need to enable cookies. Just the site logo.

I only want anonymous access, no authentication required. Requiring cookies is a barrier to reading.


Compliance with EU Cookie Law
Cookies required for anonymous read-only access
(Sam Saffron) #2

Can you give me the steps to disable cookies on the browser you are using (and browser version) ?


(Sam) #3

I am using FireFox 30.0, but I think these instructions work for the past few hundred versions:

Tools menu or pancake stack
Options
Privacy tab
Uncheck “Accept cookies from sites”

I also use a plugin called Cookie Controller to more easily enable cookies on a site-by-site basis.


(lid) #4

confirmed on firefox
https://support.mozilla.org/en-US/kb/enable-and-disable-cookies-website-preferences


(Jeff Atwood) #5

We should definitely fix this for V1. No reason anons should require cookies.


(Sam Saffron) #7

This is now fixed:

https://github.com/discourse/discourse/commit/0d281d9de67969a2ae35bfe3c0d81ea8d8d0e9c2

Browsers will chuck security exceptions if localStorage is even looked at, I added protection in our wrapper.


(Sam Saffron) #8