1

I am trying to establish a long lived connection using jQuery. I have a URL in the form of:

http://www.sample.com/Notify?sessionId=xxxxxx

Now if I call this URL with the sessionId, it is equivalent to registering for Asynchronous notifications. I am aware of ajax calls using jQuery but as I understand it, after getting some data, jQuery terminates the connection. Is there a way to make it retain the connection so that the server miht be able to push information?

Legend
  • 113,822
  • 119
  • 272
  • 400

1 Answers1

0

Look at this post - Bayeux / Comet with jquery

Community
  • 1
  • 1
redsquare
  • 78,161
  • 20
  • 151
  • 159