|
Posted by marcwentink@hotmail.com on 11/06/70 11:36
I am using socket programming and I am sending a request from client to
server, I have made this message in my program but somehow, the COOKIE
I set does not get to the server:
This is my message:
POST /cgi-bin/xxxxxx/xxxxxxxxxxxxx HTTP/1.1
Accept: */*
Referer: http://xxxxxxxxx.xxx.xxxxx:80/cgi-bin/xxxxxx/xxxxxxxxxxxxx
Content-Type: application/x-www-form-urlencoded
Content-Length: 15
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Host: xxxxxxxxx.xxx.xxxxx:80
Connection: Keep-Alive
Cache-Control: no-cache
Set-Cookie: SessieString=xxxxxxxxxxxxxxxx;
path=/cgi-bin/xxxxxx/xxxxxxxxxxxxx; v
ersion=1
action=xxxxxxxx
I did got some info, the parameter 'action' is read correctly at the
server side, but getting some debug info tells me that no Cookies are
present, at all, at the Server Side. Let alone the named Cookie
SessieString.
I feel, to put it diplomaticly, 'somewhat frustrated', trying all kinds
of things, and not knowing what I do wrong. I 've been prutsing with it
the whole day now...
I tried Cookie instead of Set Cookie, with and without the path en
version, and the letter with and without the semicolon. I used /r/n
since the server is on unix (Apache) and I am sending from a
windows-client (Little C program written in g++).
:-(
Please help me!
[Back to original message]
|