Topic Path: Symbol Reference > Classes > TIdServerCookies Class > TIdServerCookies Methods > Add Method
ContentsIndexHome
PreviousUpNext
TIdServerCookies.Add Method

Creates a server Cookie class instance to be added to the collection.

function Add: TIdServerCookie;

TIdServerCookie - Server Cookie class instance added to the collection.

Add is a TIdServerCookie function that creates a new instance of TIdServerCookie to be added to the Cookie collection. Add creates the Cookie class instance using the TIdServerCookies object instance as the owner of the collection item. 

Add is called from TIdHTTPServer when cookies are created to represent the Session used for an HTTP client connection, or when Cookies are received in the request for an executing peer thread.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.