Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF | .Net API for WAF Systems

ICookieFactory Interface

Interface ICookieFactory is used to write cookie to the underlying storage and send the cookie to the browser with the modified content

Namespace:  Walter.Web.FireWall.Infrastructure.Repositories
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)


public interface ICookieFactory


The factory, wen set to true, uses the property UseTransparentEncryption to make sure the data is stored GDPR complaint. The browser is send the cookie with a substitute value making the cookie smaller allowing you to store up-to a ridiculous amount of 4GB of data in a cookie as that's the amount of data a blob can store in SQL server. The user is send the cookie definition with a place holder integer.

You can access the cookie factory after integrating the Walter.Web.FireWall.CookieStore NuGet package in your web application. You can access the cookie factory via the User or the Instance() method