Walter.Web.FireWall
ICookieFactory Interface
Members 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Infrastructure.Repositories Namespace : ICookieFactory Interface
Interface ICookieFactory is used to write cookie to the underlying storage and send the cookie to the browser with the modified content
Syntax
public interface ICookieFactory : Walter.BOM.IRepositoryStorageLocation  
Remarks
The factory, wen set to true, uses the property Walter.Web.FireWall.Configurations.CookieConfig.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 Walter.Web.FireWall.IPageRequest.User or the Instance() method

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ICookieFactory Members
Walter.Web.FireWall.Infrastructure.Repositories Namespace