x
login about faq

comet server push java ajax call

Im using comet tomcat java ajax call for server push. problem is the browser is continously making ajax call. whether server pushes fresher data or not. i want the browser make a fresher only if server pushes new data.if not so browser should not make any call to server.please helpme.

more ▼

asked Sep 03 at 08:02 AM

jacknjill\'s gravatar image

Jack Jill
0 3

(comments are locked)
10|600 characters needed characters left

1 answer: sort voted first

That is because you are using LongPolling on your cometd server configuration. Also this is the default server config of the cometd server.

I dont know exactly how to change this configuration, but surely thats where I would start looking into.

more ▼

answered Nov 18 at 06:19 PM

gnandiga\'s gravatar image

Giridhar Nandigam
0

(comments are locked)
10|600 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

powered by AnswerHub - Enterprise Social Q&A