Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Readme file added

  • Loading branch information...
commit 5717705818ffe39904022a95446797c99ec653de 1 parent 9a5cc24
Ole Thorsager othorsager authored

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. +12 0
Source Rendered
... ... @@ -0,0 +1,12 @@
  1 +# 1508 CookieRestrictions
  2 +-------
  3 +A way of turning cookies on and off to support the regulative (EU 32002L0058)
  4 +
  5 +By adding the queryparameter allowCookies=on or disallowCookies=on cookies will be disabled or enabled.
  6 +
  7 +- On the server side a http-module attached to the ResponseEnd event will clear all cookies if they are not enabled
  8 +- On the client side a javascript will wait 1200 milliseconds before clearing all cookies which may have been set via 3rd party javascript includes (such as google analytics)
  9 +- The HttpModule can be configured to work on a limited number of hostnames, just add them as a comma separated list in the app-setting "CookieRestrictions.ValidHostnames"
  10 +- The javascript is placed in \resources\js\CookieRestrictions.js and must be included manualy if needed
  11 +
  12 +1508 / Design in Love with Technology

0 comments on commit 5717705

Please sign in to comment.
Something went wrong with that request. Please try again.