HTTP POST and Cookies

Hello All,

I've a problem with a HTTP POST command. I'd like to add the Cookie
field, Does anyone knows the exact syntax for it.

my previous command was:

POST /test.pl HTTP/1.0\r\nContent-Length:$POST_LGTH\r\nUser-Agent:
$AGT\r\nAccept: text/html\r\nContent-Type: application
/x-www-form-urlencoded\n\n$POST_ARGS\r

the new one:

POST /test.pl
HTTP/1.0\nCookie:$COOKIE\r\nContent-Length:$POST_LGTH\r\nUser-Agent:
$AGT\r\nAccept: text/html\r\nContent-Type: application
/x-www-form-urlencoded\n\n$POST_ARGS\r
 is not working.

Thanks
-- 
 _____________________________________________________________________
| Laurent DOUILLET          | "It is better to remain silent and be   |
| Cap Gemini - HP Grenoble  |  thought a fool,than to open your mouth |
|                           |  and remove all doubt." (Lisa Simpson)  |
| email:ldouille@www-side.grenoble.hp.com                              | 
 _____________________________________________________________________

Received on Tuesday, 2 September 1997 14:14:51 UTC