BackgroundTasks example

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Is the BackgroundTasks example working properly?  The images don’t change until refresh, and the messages don’t appear until the browser loses focus.

I’ve tested it in several browsers including IE, Chrome, and Firefox.

  • You must to post comments
0
0

Setting enableWebSocket to true fixed the problem.

Thank you.

 

  • You must to post comments
0
0

Hi Jim

we just noticed that websockets are disabled in the demo download (probably due to some tests we did).
We´ll update the sample.

Can you please retry after setting

enableWebSocket to true in default.json ?

Best regards
Frank

  • You must to post comments
0
0

Hi Luca,

I thought (just for fun) I’d update the background tasks example for Jim but even though the buttons and the notification are now working the canvas element is not updated.

Even though my timer is only ticking every 100ms I would still expect to see an update every now and then but nothing happens.

Is there something else required for canvas?

Thanks

Nic

  • You must to post comments
0
0

It may not work if your server doesn’t support WebSocket. You need either Windows 8 or Server 2012 minimum. Otherwise it’s only http and the task cannot update the client. In that case you’d need to add  timer.

http://demo.wisej.com/apps/backgroundtasks.html

  • You must to post comments
Showing 4 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json