Topic Path: Symbol Reference > Classes > TIdCookies Class > TIdCookies Methods > AddSrcCookie Method
TIdCookies.AddSrcCookie Method

Creates a new Cookie collection item using the textual Cookie data.

procedure AddSrcCookie(
    const sCookie: string
Textual representation of the Cookie

AddSrcCookie is a procedure used to create a new Cookie class instance in the collection using the textual representation of Cookie specified in sCookie. 

AddSrcCookie calls Add to create the Cookie class instance added to the collection. AddSrcCookie sets the name, value, and attributes for the new Cookie by updating CookieText to reflect the data specified in sCookie.

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