Web.HTTPApp.TCookie.Create
Delphi
constructor Create(Collection: TCollection); override;
C++
__fastcall virtual TCookie(System::Classes::TCollection* Collection);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | TCookie |
Description
Creates an instance of TCookie.
It is seldom necessary to call the constructor for TCookie directly. Instead, create TCookie objects indirectly by calling the Add method of TCookieCollection.
After calling the inherited constructor, Create initializes the Expires property to indicate no expiration date.