Internet Direct (Indy)
Home
PreviousUpNext
TIdServerCookies.Add Method

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.