URLAccess and Cookies
URLAccess and Cookies
- Subject: URLAccess and Cookies
- From: Zack Morris <email@hidden>
- Date: Mon, 14 Jun 2004 19:25:13 -0600
Hi, I am trying to send a cookie like this:
char myStr = "Cookie: PHPSESSID=5b591b121e419878f20b1f586e105738;
path=/\r\n\r\n";
URLSetProperty( myRef, kURLHTTPRequestHeader, myStr, strlen( myStr ) );
However, when I connect to the server, it's like the request never
finishes, and I never get a response from the server. Does anyone know
how to format the header correctly so that I can set the cookie line?
Here is an example in irc (I guess), I just don't know which fields I
have to include, and don't really want to dig out the packet sniffer:
http://www.scriptaholics.com/node/view/339
Does someone have an example of URLSetProperty()? I can't find one for
cookies anywhere on the net. Thanx,
------------------------------------------------------------------------
----
Zack Morris Z Sculpt Entertainment This
Space
email@hidden
http://www.zsculpt.com For
Rent
------------------------------------------------------------------------
----
If the doors of perception were cleansed, everything would appear to
man as
it is, infinite. -William Blake, The Marriage of Heaven and Hell
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.