Updates and returns the value of the System.Web.UI.WebControls.CookieParameter object.
- ctx
- Documentation for this section has not yet been entered.
- control
- A System.Web.UI.Control that is associated with the Web Forms page where the System.Web.UI.WebControls.CookieParameter is used.
An object that represents the updated and current value of the parameter. If the context or the request is null, the CookieParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method returns null.
The context parameter is used by the CookieParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method to retrieve the cookies collection and the value of the cookie that the System.Web.UI.WebControls.CookieParameter object binds to. The control parameter is ignored.