W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

[www-lib] <none>

From: Wissmann, Helmut <Helmut.Wissmann@commerzbank.com>
Date: Fri, 7 Apr 2000 03:55:46 -0400 (EDT)
Message-ID: <01EBDB2D6DFDD211A98200805FF50CF90100BAEC@SV002871>
To: "'frystyk@w3.org'" <frystyk@w3.org>, "'www-lib@w3.org'" <www-lib@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT