🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1690

TIdHTTP and Cookie (newby question)

#1690
From: Richard Kavanagh
Date: Wed, 22 Nov 2006 10:50
45 lines
2035 bytes
I am having trouble with TIdHTTP and Cookies. I am attempting to notify a 
server that I am authorised to look at a certain page.

The cookie is stored in IE's cookie directory and looks like this:-




auth

7e5a7cec0769ed530cad95244bb62b44

einstein.phys.uwm.edu/

1536

3586013184

29892246

1595051984

29818821

*




Going from back to front, I assume the star is some terminating symbol, the 
previous four numbers are FILETIME numbers indicating I know what not. Not 
sure what 1536 stands for. The first two probably mean authority and some 
over-complicated password followed by the domain. Is this correct?

Looking at the Indy documentation there seems to be at least six ways to add 
this Cookie to a non-existing TIdCookieManager's CookieCollection. I have 
tried all six and none succeed.

Looking at past correspondence on the same or similar subjects all they say 
is that the CookieManager does it all for you, but there is no 
CookieManager. How do I instantiate one and more importantly initialize it 
with the above cookie?

Richard Kavanagh
Technical Details
Message-ID: <45642bbb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,68afa507f0d6b215,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Richard Kavanagh" <dd.foldhill@google-ignore-mail.com>
From: "Richard Kavanagh" <dd.foldhill@google-ignore-mail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdHTTP and Cookie (newby question)
Date: Wed, 22 Nov 2006 10:50:19 -0000
Lines: 47
Organization: Foldhill
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 82.71.21.61
Message-ID: <45642bbb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1164192699 82.71.21.61 (22 Nov 2006 02:51:39 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail