🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1658

Re: Cookies->Delete?

#1658
From: Remy Lebeau (TeamB)
Date: Fri, 20 Aug 2004 18:41
14 lines
1375 bytes
"Nicolae Fieraru" <nospam@please.com> wrote in message
news:41262407@newsgroups.borland.com...

> How can I use the function Delete to delete a
> cookie from TIdCookieManager?

TIdCookieManager does not have any methods for removing cookies by name.
You will have to loop through the stored cookies yourself looking for the
cookie that you want to remove.  TIdCookieManager has a CookieCollection
property, which then has GetCookieIndex() and Delete() methods.


Gambit
Technical Details
Message-ID: <412645a0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41262407@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4cbcd38de04e681e
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41262407@newsgroups.borland.com>
Subject: Re: Cookies->Delete?
Date: Fri, 20 Aug 2004 11:41:25 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <412645a0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1093027232 68.69.17.41 (20 Aug 2004 11:40:32 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail