CookieRestrictions 1.0.0.8

dotnet add package CookieRestrictions --version 1.0.0.8                
NuGet\Install-Package CookieRestrictions -Version 1.0.0.8                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CookieRestrictions" Version="1.0.0.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CookieRestrictions --version 1.0.0.8                
#r "nuget: CookieRestrictions, 1.0.0.8"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CookieRestrictions as a Cake Addin
#addin nuget:?package=CookieRestrictions&version=1.0.0.8

// Install CookieRestrictions as a Cake Tool
#tool nuget:?package=CookieRestrictions&version=1.0.0.8                

By adding the queryparameter allowCookies=on or allowCookies=off cookies will be disabled or enabled.
(cookis are enabled by setting an allowCookies cookie with the value "on")

- On the server side a http-module attached to the ResponseEnd event will clear all cookies if they are not enabled
- 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)
- 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"
- The javascript is placed in \resources\js\CookieRestrictions.js and must be included manualy if needed

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.8 1,685 6/3/2014
1.0.0.7 1,224 1/15/2014
1.0.0.6 1,169 1/14/2014
1.0.0.4 1,372 1/28/2013
1.0.0.3 1,533 11/23/2012
1.0.0.2 1,676 2/24/2012
1.0.0 1,551 1/12/2012

Version 1.0.0.8 - Silent Handling now based on error number instead of exception message
Version 1.0.0.7 - Silent Handling of not being able to change cookies in request due to Flushed request content
Version 1.0.0.6 - Fixed Cookies from httpOnly true to false, and a typo in js
Version 1.0.0.5 - Implementet so the configuration can be overwriten
Version 1.0.0.4 - Implemented surpress cookie warning.
Version 1.0.0.3 - Fixed allow cookie validation in util class.
Version 1.0.0.2 - Added a util class
Version 1.0.0.1 - added the CookieRestrictionsContext.HostnameIsValid property so its easier to check if the javascript should be included