Comet Server Push and File Upload

asked 2017-04-27 07:01:09 +0800

DarkFoo gravatar image DarkFoo
1 1

Hello, I need some help

I use new Comet Server Push ZK EE. All is running fine until I upload a File. Then I see on Client Browser that each second there is an event:

post localhost:8080.../zkau
post localhost:8080.../zkau/upload

and it leads to that every second my focus of any Input-fields are lost!

I can only stop this by doing after the upload thread ends: Clients.response("endUpload",new AuScript(null, "zkau.endUpload()"));

But then I got no ServerPush messages any further.

Or I press reload on the Browser. (Does not work with Executions.getCurrent().sendRedirect(-1) );

What I am doing wrong?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-04 10:36:38 +0800

cor3000 gravatar image cor3000
3967 1 7
ZK Team

updated 2017-05-04 10:36:56 +0800

Comet Serverpush requests (if enabled) are sent to either '/zkcomet' or '/zkau/comet'. Fileupload should be unrelated to ServerPush and based on your descriptions I don't see a connection yet.

If the focus gets updated during a file upload please provide the Browser/OS and versions together with a reproducing example, e.g. on http://zkfiddle.org/ (or contact your ZK support directly).


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2017-04-27 07:01:09 +0800

Seen: 26 times

Last updated: May 04 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More