Updates and returns the value of the System.Web.UI.WebControls.SessionParameter 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.SessionParameter is used.
An object that represents the updated and current value of the parameter. If the context or the request is null, the SessionParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method returns null.
The System.Web.UI.WebControls.SessionParameter object attempts to bind to the value of the session variable every time the SessionParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method is called.
The context parameter is used by the SessionParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method to retrieve the name/value pair that the System.Web.UI.WebControls.SessionParameter object binds to. The control parameter is ignored.