Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 May : idhttp - not receiving cookie

www.cryer.info
Managed Newsgroup Archive

idhttp - not receiving cookie

Subject:idhttp - not receiving cookie
Posted by:"Luk" (12..@1234)
Date:Thu, 12 May 2005 12:04:17

Hi

I'm working on an application that must log into a server and fetch some
files.

I'm using Indy v9.0.11 and the server claims to be Appache-Coyote/1.1. It's
not an SSL link or anything even remotely complicated.

But my application doesn't login.

I'm fairly certain that it fails because it is not receiving a JSESSIONID
cookie. When I GET the login page with IE, I get a cookie, but when i GET
the page with Indy I don't receive any cookies?!

AllowCookies is enabled (obviously) and I've also tried explicitly using an
idCookieManager but the server doesn't seem to want to give me the cookie
<sob>.

Anyone have any idea why I might not be getting the cookie?

Thanks

Luk

Replies:

www.cryer.info
Managed Newsgroup Archive