Add cookie

Giganews Newsgroups
Subject: Add cookie
Posted by:  Alexandre (alexandrepires20…@yahoo.com.br)
Date: Wed, 19 Aug 2009

Remy, to add a cookie in IdCookieManager I did this in indy 10.2.3

IdCookieManager1.AddCookie(MyCookie,'www.mydomain.com.br');

But now in indy 10.5.6 the following error occurs:

Incompatible type 'TidURI' and 'String'

How to do this in indy 10.5.6 ?

Thx
Alexandre
Brazil

Replies