Results 1 to 3 of 3

Thread: webservice with long polling from ajax

  1. #1

    webservice with long polling from ajax

    Getting long polling from ajax with an webservice (written in delphi.net) is more troublesome then i expected. It seems that my webservice (or the webserver for that manner) is only handling one connection at a time?

    To see the effect try: http://strato.vanderhoning.net/default.htm . Once an second ie is opened things go haywire.

    To disect the problem i have the following testcase:
    Open http://strato.vanderhoning.net/Handler.ashx twice and then
    Use http://strato.vanderhoning.net/VmsAp...rm&name=ytestr to add a new text line.
    Now only the first window updates.

    Any ideas on what could be wrong are appriciated.
    http://3das.noeska.com - create adventure games without programming

  2. #2

    webservice with long polling from ajax

    solved:

    made the handler session aware and changed the method for detecting if new text was added.
    http://3das.noeska.com - create adventure games without programming

  3. #3

    webservice with long polling from ajax

    new question:

    What is the best method for reading out handler.ashx from delphi? I do not want to lock up the ui. E.g. once content is recieved it should read out handler.ashx once more.
    http://3das.noeska.com - create adventure games without programming

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comodo SSL