the process is as follows ...

a request/command is sent to a URL which processes the request.

The result is then sent out of a "responder" at another URL.

So what i'm wanting to do, i suppose, is to continually poll the "responder" URL and process it's results.


On Oct 23, 2008, at Thu-10 /23 /08-9:25 AM, Jason Stephenson wrote:

Jack Carbaugh wrote:
What is the best way to emulate, with cocoa, an AJAX persistent connection to a web server.

There is no persistent connection to a web server. HTTP does not preserve state between discrete requests. This is why cookies were invented and session variables stored on the server.

Well-implemented AJAX applications may give the appearance of persistence, but they are still initiating a discrete XMLHTTPRequest any time they need new data from the server.

I've reviewed NSURLConnection, but am not sure if it what i need.

You might want to use WebKit and JavaScript. However, I can't make any useful suggestions without knowing more about what you really want to achieve.

Jason

Thank you!
Jack
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/jason%40sigio.com
This email sent to [EMAIL PROTECTED]


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to