[www-lib] <none>

Dear Mr.Frystyk

I have a big problem:
I want to realize a redirect, with cookie-handling inside. This means, if
the statuscode 302 is obtained, the server has sendet cookies with the asked
page (302). I want to give back the cookies to the server, when I asked for
the redirected page. After many tries, I didnīt manage it. Can you help me?
For understanding, here the HTTP-protokoll:

If you have some idea, please mail to helmut.wissmann@t-online.de

************************************
Establish new connection
************************************
--------------------------------------
Conversation direction: Client->Server
--------------------------------------
GET /cgi-bin/plugitin/cookieredirect.asp HTTP/1.1
Accept: */*
TE: trailers
Host: localhost:8080
User-Agent: TestApp/1.0 libwww/5.2.8
Connection: TE,Keep-Alive
Cookie:
--------------------------------------
Conversation direction: Server->Client
--------------------------------------
HTTP/1.1 302 Object moved
Server: 
Date: Fri, 07 Apr 2000 07:17:17 GMT
Location: cookietest.asp
Content-Length: 135
Content-Type: text/html
Set-Cookie: TestCookie1=Dies+kommt+von+cookieredirect
<-------------------HERE IS THE COOKIE!!!
Cache-control: private

<head><title>Object moved</title></head>
<body><h1>Object Moved</h1>This object may be found <a
HREF="cookietest.asp">here</a>.</body>
--------------------------------------
Conversation direction: Client->Server
--------------------------------------
GET /cgi-bin/plugitin/cookietest.asp HTTP/1.1
Accept: */*
TE: trailers
Host: localhost:8080
User-Agent: TestApp/1.0 libwww/5.2.8
Connection: TE,Keep-Alive
Cookie: <--------------------------------------------------------------WHERE
IS MY COOKIE??????? 
 

I am really thankfull for help!!
Helmut Wissmann

********************************************
Dr. Helmut Wissmann
Commerzbank AG, ZIT D E-Commerce
Tel. (++49) (0)69-136-40586 
                  136-40550
eMail:  helmut_wissmann@commerzbank.com
(priv.) helmut.wissmann@t-online.de
******************************************** 

Received on Friday, 7 April 2000 07:57:00 UTC