Walter.Web.FireWall
WriteCookie Method (ICookieFactory)
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Infrastructure.Repositories Namespace > ICookieFactory Interface : WriteCookie Method
The user.
Name of the cookie.
The cookie value.
The UTC date the cookie expires.
Writes the cookie to the cookie store and substitute the value in the HTTPResponse.
Syntax

Parameters

user
The user.
cookieName
Name of the cookie.
cookieValue
The cookie value.
expiresUTC
The UTC date the cookie expires.
Remarks
If transparent encryption is used the value of the cookies will be decrypted before the .Net pipeline accesses the cookie values.
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 Interface
ICookieFactory Members
UseTransparentEncryption Property