Internet Direct (Indy)
Home
PreviousUpNext
TIdServerCookie.AddAttribute Method

Sets the Path or Domain for a server cookie.

Pascal
procedure AddAttribute(
    const Attribute: String; 
    const Value: String
);
Parameters 
Description 
Attribute 
Cookie attribute name.
 
Value 
Cookie attribute value. 

AddAttribute is a procedure AddAttribute used to to set the '$PATH' and '$DOMAIN' attributes for the server cookie. 

Attribute is the Cookie attribute name, and can contains the values '$PATH' and '$DOMAIN' (in upper-, lower-, or mixed-case). All other Attribute names are ignored. 

Value is the content for the named attribute to be set for the server cookie. 

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.