Set cookie in latest version

Giganews Newsgroups
Subject: Set cookie in latest version
Posted by:  Alexandre (alexandrepires20…@yahoo.com.br)
Date: Thu, 31 Mar 2011

Remy, How set cookies in the latest version of indy ?

I tried this but it did not work in lastest version

try
  URI := TidURI.create('http://mydomain.com/');
  Tidcookiemanager.CookieCollection.AddCookie('mycookie=value',URI)
finally
  URI.Free;
end;

Replies