RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCookieCollection.Add Method

Creates a new TCookie object and adds it to the end of the Items property array.

Pascal
function Add: TCookie;
C++
__fastcall TCookie Add();

Call Add to add a new Cookie header to the set of cookie headers sent with the Web response message. Use Add when adding a Cookie header whose fields will be set at a later time. If the values of the TCookie properties are known at the time of creation, use the SetCookieField method of the Web response object instead. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!