• 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
How to reuse session for CFHTTP?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to reuse session for CFHTTP?


  • Subject: How to reuse session for CFHTTP?
  • From: Dave Hersey <email@hidden>
  • Date: Fri, 15 Feb 2008 17:14:20 -0500

Hi,

I'm making HTTP POST requests to a server that takes/returns XML and I've been using the approached that's demonstrated in the POST Example from the /Developer/Examples/Networking folder. Basically, this approach uses CFHTTPMessageCreateRequest, CFHTTPMessageSetBody, CFReadStreamCreateForHTTPRequest and so on.

It all works great, but on the server end, a new session ID is being set up every time I send a POST request. Is there a way to extract the session cookie and reuse it with this approach or do I need to change APIs? I can't find anything of relevance in the archives or docs, but maybe the session ID is being called something else.

Thanks,

Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to reuse session for CFHTTP?
      • From: Michael Ledford <email@hidden>
  • Prev by Date: Re: Removing stale network service entries
  • Next by Date: Re: How to reuse session for CFHTTP?
  • Previous by thread: Re: Removing stale network service entries
  • Next by thread: Re: How to reuse session for CFHTTP?
  • Index(es):
    • Date
    • Thread