Internet Direct (Indy) Version 9.0.1 Beta
TIdCookies.AddSrcCookie
Creates a new Cookie collection item using the textual Cookie data.

procedure AddSrcCookie(const sCookie: string);
Parameters
const sCookie: string
Textual representation of the Cookie.

Description
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 Cookie by updating CookieText to reflect the data specified in sCookie.