• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
URLAccess and Cookies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: URLAccess and Cookies
      • From: Chilton Webb <email@hidden>
    • Re: URLAccess and Cookies
      • From: Zack Morris <email@hidden>
References: 
 >RE: NSURLConnection and self-signed certs? (From: "Wade Williams \(wwilliam\)" <email@hidden>)

  • Prev by Date: RE: NSURLConnection and self-signed certs?
  • Next by Date: Re: URLAccess and Cookies
  • Previous by thread: RE: NSURLConnection and self-signed certs?
  • Next by thread: Re: URLAccess and Cookies
  • Index(es):
    • Date
    • Thread