Internet Direct (Indy)
Home
PreviousUpNext
TIdCookies.AddSrcCookie Method

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

Pascal
procedure AddSrcCookie(
    const sCookie: string
);
Parameters 
Description 
sCookie 
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.

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.