Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Indy, HTTP Session or keep connect

0 views
Skip to first unread message

Jonas

unread,
Oct 21, 2000, 3:00:00 AM10/21/00
to
Normally with a browser if I get a URL on a site that use session it will
redirect me the
first time and after I will be able to get any url because a session is
create.
Example:
http:// www.domain.com/intro.asp
the server redirect me to :
http:// www.domain.com/default.asp
but the second time if I get
http:// www.domain.com/intro.asp
it will be fine because a session is created.

I try to do this with the Indy HTTP, but each get is a new
connection and its disconnect after the process.
Is the same thing if my site need an anthentification normally
its only done one time. But with Indy HTTP I need to pass
the information each time!

Has anyone a solution?

Thanks
Jonathan
I use Indy 8006b

Stephane Grobety

unread,
Oct 21, 2000, 3:00:00 AM10/21/00
to
You are not properly saving and resending the session cookie to the target
web site. When you perform the first download, you will receive a session
cookie that you must add to all subsequent calls from that web site. Don't
forget to also check the time stamp on that cookie...

Good luck,
Stephane


On 21 Oct 2000, Jo...@hotmail.com (Jonas) wrote in
<8sshhm$2l...@bornews.borland.com>:

0 new messages