Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to reuse session for CFHTTP?



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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.