turbolinks / turbolinks-classic

Classic version of Turbolinks. Now deprecated in favor of Turbolinks 5.
MIT License
3.54k stars 428 forks source link

Use session cookies instead #643

Open ivanxuu opened 8 years ago

ivanxuu commented 8 years ago

By default all cookies generated in turbolinks via javascript are generated with no expiration date. It would be better to use session cookies.

Related to ISSUE #641

The reason why I think is better to have a session cookie is because of the european cookies law in Europe, only first‑party session cookies DO NOT require informed consent. Otherwise the website should bother the user with the 'We inform you that this website use cookies..' message.